mirror of https://github.com/gdamore/tcell.git
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 nil:
|
||||
default:
|
||||
close(t.indoneq)
|
||||
t.PostEvent(NewEventError(e))
|
||||
return
|
||||
}
|
||||
t.keychan <- chunk[:n]
|
||||
|
|
Loading…
Reference in New Issue