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,9 +195,10 @@ input:
// what are we even doing here?
panic("not a tty")
}
}
<-make(chan struct{})
}
continue
}
var priv bool
if strings.HasPrefix(input, " ") {
priv = true