fix: only halt in error clause

pull/287/head
sammyette 2024-04-06 18:52:55 -04:00
parent b416264138
commit 11fc1edd94
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 2 additions and 1 deletions

View File

@ -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, " ") {