Fix error handling in *escapeInterpreter.parseOne()

This commit is contained in:
Roi Martin 2017-02-12 15:50:38 +01:00
parent 139487f578
commit ed41d1bd2c
1 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,8 @@ func (ei *escapeInterpreter) parseOne(ch rune) (isEscape bool, err error) {
ei.state = stateNone
ei.csiParam = nil
return true, nil
default:
return false, errCSIParseError
}
}
return false, nil