Make golint happy. Fix typo.

This commit is contained in:
Roi Martin 2016-10-11 08:52:03 +02:00
parent cea263b118
commit d822523f8c
2 changed files with 7 additions and 8 deletions

View File

@ -63,7 +63,7 @@ func newEscapeInterpreter() *escapeInterpreter {
return ei
}
// reset sets the escapeInterpreter in inital state.
// reset sets the escapeInterpreter in initial state.
func (ei *escapeInterpreter) reset() {
ei.state = stateNone
ei.curFgColor = ColorDefault

View File

@ -244,7 +244,7 @@ func (v *View) parseInput(ch rune) []cell {
} else {
if isEscape {
return nil
} else {
}
c := cell{
fgColor: v.ei.curFgColor,
bgColor: v.ei.curBgColor,
@ -252,7 +252,6 @@ func (v *View) parseInput(ch rune) []cell {
}
cells = append(cells, c)
}
}
return cells
}