This commit is contained in:
Kovid Goyal 2023-01-18 14:44:40 +05:30
parent 63077e5432
commit 2d846f53a1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -276,7 +276,7 @@ func (self *Loop) run() (err error) {
flush_writer(w_w, tty_write_channel, write_done_channel, self.pending_writes, 2*time.Second) flush_writer(w_w, tty_write_channel, write_done_channel, self.pending_writes, 2*time.Second)
self.pending_writes = nil self.pending_writes = nil
// wait for tty reader to exit cleanly // wait for tty reader to exit cleanly
for more := true; more; _, more = <-tty_read_channel { for range tty_read_channel {
} }
}() }()