mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 19:23:24 +00:00
fix: only halt in error clause
This commit is contained in:
parent
b416264138
commit
11fc1edd94
3
main.go
3
main.go
@ -195,8 +195,9 @@ 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, " ") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user