2
2
zrcadlo https://github.com/Hilbis/Hilbish synchronizováno 2025-07-18 16:52:02 +00:00

fix: use lunacolors instead of ansikit

Tento commit je obsažen v:
sammy 2021-05-01 16:18:11 -04:00
rodič 69883c6b73
revize 8242e0bfc9
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: 50EE40A2809851F5

Zobrazit soubor

@ -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'))