Skip to content

Commit

Permalink
Fix error handling in *escapeInterpreter.parseOne()
Browse files Browse the repository at this point in the history
  • Loading branch information
jroimartin committed Feb 12, 2017
1 parent 139487f commit ed41d1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions escape.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed41d1b

Please sign in to comment.