From 271ea946eb4061ea899816352ef493deff7caf77 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Mon, 5 Apr 2021 17:26:55 -0400 Subject: [PATCH] fix: update to work with latest ansikit --- lua.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua.go b/lua.go index 1c594a2..4e9ae57 100644 --- a/lua.go +++ b/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) }