mirror of
https://github.com/gdamore/tcell.git
synced 2025-04-24 13:48:51 +08:00
Post an error event on receiving an error from the input.
This commit is contained in:
parent
50f9ed7673
commit
87c64c441a
@ -1303,7 +1303,7 @@ func (t *tScreen) inputLoop() {
|
|||||||
case io.EOF:
|
case io.EOF:
|
||||||
case nil:
|
case nil:
|
||||||
default:
|
default:
|
||||||
close(t.indoneq)
|
t.PostEvent(NewEventError(e))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
t.keychan <- chunk[:n]
|
t.keychan <- chunk[:n]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user