2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-01 11:13:24 +00:00

fix: initialize line reader before lua init

This commit is contained in:
TorchedSammy 2022-07-10 22:07:01 -04:00
parent 08e2951513
commit b65acca903
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -116,8 +116,8 @@ func main() {
}
go handleSignals()
luaInit()
lr = newLineReader("", false)
luaInit()
// If user's config doesn't exixt,
if _, err := os.Stat(defaultConfPath); os.IsNotExist(err) && *configflag == defaultConfPath {
// Read default from current directory