From d32cee21719f111b5df5a6a186e255c335574861 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 11 Dec 2021 04:37:51 -0500 Subject: fix command output --- src/history.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-54-g00ecf