Remove the redundant guard on the event loop

This commit is contained in:
Sameer Rahmani 2022-11-23 21:26:49 +00:00
parent 6a3af2a0ac
commit af92330682
1 changed files with 1 additions and 4 deletions

View File

@ -120,10 +120,7 @@ func main() {
upperBound := min(ymax-3, len(*input))
// Event loop
for {
if done {
break
}
for !done {
s.Clear()
Render(s, input, lowerBound, upperBound, currentLine)