summaryrefslogtreecommitdiffstats
path: root/src/history.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.rs')
-rw-r--r--src/history.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.rs b/src/history.rs
index e3d4216..0ba85ee 100644
--- a/src/history.rs
+++ b/src/history.rs
@@ -332,7 +332,7 @@ impl Entry {
out.hide_cursor(true);
out.reset_attributes();
} else {
- let last_row = self.lines(width, focused && !scrolling);
+ let last_row = self.output_lines(width, focused && !scrolling);
if last_row > 5 {
out.write(b"\r\n");
out.set_fgcolor(textmode::color::BLUE);