fix: use lunacolors instead of ansikit

pull/46/head
sammy 2021-05-01 16:18:11 -04:00
parent 69883c6b73
commit 8242e0bfc9
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
-- Default Hilbish config
ansikit = require 'ansikit'
lunacolors = require 'lunacolors'
bait = require 'bait'
function doPrompt(fail)
prompt(ansikit.format(
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. '{reset} '
prompt(lunacolors.format(
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. ' '
))
end
print(ansikit.format('Welcome to {magenta}Hilbish{reset}, {cyan}' ..
print(lunacolors.format('Welcome to {magenta}Hilbish{reset}, {cyan}' ..
_user .. '{reset}.\n' ..
'The nice lil shell for {blue}Lua{reset} fanatics!\n'))