Skip to content

Commit

Permalink
fix: only halt in error clause
Browse files Browse the repository at this point in the history
  • Loading branch information
TorchedSammy committed Apr 6, 2024
1 parent b416264 commit 11fc1ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, " ") {
Expand Down

0 comments on commit 11fc1ed

Please sign in to comment.