mirror of https://github.com/Hilbis/Hilbish
fix: use lunacolors instead of ansikit
parent
69883c6b73
commit
8242e0bfc9
|
@ -1,14 +1,14 @@
|
||||||
-- Default Hilbish config
|
-- Default Hilbish config
|
||||||
ansikit = require 'ansikit'
|
lunacolors = require 'lunacolors'
|
||||||
bait = require 'bait'
|
bait = require 'bait'
|
||||||
|
|
||||||
function doPrompt(fail)
|
function doPrompt(fail)
|
||||||
prompt(ansikit.format(
|
prompt(lunacolors.format(
|
||||||
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. '∆{reset} '
|
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. '∆ '
|
||||||
))
|
))
|
||||||
end
|
end
|
||||||
|
|
||||||
print(ansikit.format('Welcome to {magenta}Hilbish{reset}, {cyan}' ..
|
print(lunacolors.format('Welcome to {magenta}Hilbish{reset}, {cyan}' ..
|
||||||
_user .. '{reset}.\n' ..
|
_user .. '{reset}.\n' ..
|
||||||
'The nice lil shell for {blue}Lua{reset} fanatics!\n'))
|
'The nice lil shell for {blue}Lua{reset} fanatics!\n'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue