mirror of https://github.com/Hilbis/Hilbish
fix: only halt in error clause
parent
b416264138
commit
11fc1edd94
3
main.go
3
main.go
|
@ -195,9 +195,10 @@ input:
|
||||||
// what are we even doing here?
|
// what are we even doing here?
|
||||||
panic("not a tty")
|
panic("not a tty")
|
||||||
}
|
}
|
||||||
}
|
|
||||||
<-make(chan struct{})
|
<-make(chan struct{})
|
||||||
}
|
}
|
||||||
|
continue
|
||||||
|
}
|
||||||
var priv bool
|
var priv bool
|
||||||
if strings.HasPrefix(input, " ") {
|
if strings.HasPrefix(input, " ") {
|
||||||
priv = true
|
priv = true
|
||||||
|
|
Loading…
Reference in New Issue