mirror of https://github.com/Hilbis/Hilbish
fix: initialize line reader before lua init
parent
08e2951513
commit
b65acca903
2
main.go
2
main.go
|
@ -116,8 +116,8 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
go handleSignals()
|
go handleSignals()
|
||||||
luaInit()
|
|
||||||
lr = newLineReader("", false)
|
lr = newLineReader("", false)
|
||||||
|
luaInit()
|
||||||
// If user's config doesn't exixt,
|
// If user's config doesn't exixt,
|
||||||
if _, err := os.Stat(defaultConfPath); os.IsNotExist(err) && *configflag == defaultConfPath {
|
if _, err := os.Stat(defaultConfPath); os.IsNotExist(err) && *configflag == defaultConfPath {
|
||||||
// Read default from current directory
|
// Read default from current directory
|
||||||
|
|
Loading…
Reference in New Issue