diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-11 04:37:51 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-11 04:37:51 -0500 |
commit | d32cee21719f111b5df5a6a186e255c335574861 (patch) | |
tree | f81625491183e28bbb3406252eba097a50a9b5af | |
parent | 9a8209cc2da7c98966cba4d3e4ebc6223308214e (diff) | |
download | nbsh-d32cee21719f111b5df5a6a186e255c335574861.tar.gz nbsh-d32cee21719f111b5df5a6a186e255c335574861.zip |
fix command output
-rw-r--r-- | src/history.rs | 2 |
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); |