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

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

No files matched your search

+1 -1
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