2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 11:43:23 +00:00

fix: update to work with latest ansikit

This commit is contained in:
TorchedSammy 2021-04-05 17:26:55 -04:00
parent 807ec15faa
commit 271ea946eb

4
lua.go

@ -12,7 +12,7 @@ import (
var minimalconf = `
ansikit = require 'ansikit'
prompt(ansikit.text(
prompt(ansikit.format(
'{blue}%u {cyan}%d {green}{reset} '
))
`
@ -64,7 +64,7 @@ func LuaInit() {
err = l.DoFile(homedir + "/.hilbishrc.lua")
if err != nil {
fmt.Fprintln(os.Stderr, err,
"An error has occured while loading your config! Falling back to minimal default config.\n")
"\nAn error has occured while loading your config! Falling back to minimal default config.\n")
l.DoString(minimalconf)
}