Don't quit ioloop on NUL character (#940)

* dont quit ioloop on 0 rune

* check for closed channel

* remove unused error on `Close()`
This commit is contained in:
Jeffrey Morgan
2023-10-27 20:01:48 -07:00
committed by GitHub
parent c0dcea1398
commit 4748609611
4 changed files with 38 additions and 37 deletions

View File

@@ -1,6 +1,7 @@
package readline
const (
CharNull = 0
CharLineStart = 1
CharBackward = 2
CharInterrupt = 3