From 11fc1edd9455d83fde3b28e8ad3afbaf0fe5c99d Mon Sep 17 00:00:00 2001 From: sammyette Date: Sat, 6 Apr 2024 18:52:55 -0400 Subject: [PATCH] fix: only halt in error clause --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index d2eef51..4b756c0 100644 --- a/main.go +++ b/main.go @@ -195,8 +195,9 @@ input: // what are we even doing here? panic("not a tty") } + <-make(chan struct{}) } - <-make(chan struct{}) + continue } var priv bool if strings.HasPrefix(input, " ") {