mirror of https://github.com/jroimartin/gocui.git
Fix error handling in *escapeInterpreter.parseOne()
This commit is contained in:
parent
139487f578
commit
ed41d1bd2c
|
@ -133,6 +133,8 @@ func (ei *escapeInterpreter) parseOne(ch rune) (isEscape bool, err error) {
|
||||||
ei.state = stateNone
|
ei.state = stateNone
|
||||||
ei.csiParam = nil
|
ei.csiParam = nil
|
||||||
return true, nil
|
return true, nil
|
||||||
|
default:
|
||||||
|
return false, errCSIParseError
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false, nil
|
return false, nil
|
||||||
|
|
Loading…
Reference in New Issue