Simplify code

This commit is contained in:
Kovid Goyal
2023-01-18 16:16:11 +05:30
parent bf7d27691c
commit 26ca3f9bad
2 changed files with 0 additions and 7 deletions

View File

@@ -152,9 +152,6 @@ func write_to_tty(
break
}
}
if selector.IsReadyToWrite(tty_fd) {
return
}
if selector.IsReadyToRead(pipe_fd) {
keep_going = false
}