Fix header not shown when the lines go beyond the screen limit

This commit is contained in:
Junegunn Choi
2015-07-22 21:22:59 +09:00
parent bbaa3ab8bd
commit 928fccc15b
2 changed files with 5 additions and 2 deletions

View File

@@ -388,7 +388,7 @@ func (t *Terminal) printHeader() {
line -= 1
}
if line >= max {
break
continue
}
trimmed, colors, newState := extractColor(&lineStr, state)
state = newState