diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-03-08 00:47:19 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-03-08 00:47:19 -0500 |
commit | 4e55372bf71a0f20c040a25d9254a2986a9f5f18 (patch) | |
tree | f40f1dbeb8769999a6a3a51246269a3c982528ba | |
parent | c271a9e62251f76e9798894346adcbfd3aa6dc8a (diff) | |
download | nbsh-4e55372bf71a0f20c040a25d9254a2986a9f5f18.tar.gz nbsh-4e55372bf71a0f20c040a25d9254a2986a9f5f18.zip |
use the current size when rendering an entry
not the size of the terminal when the entry was run
-rw-r--r-- | src/shell/history/entry.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell/history/entry.rs b/src/shell/history/entry.rs index ad931dc..56f378a 100644 --- a/src/shell/history/entry.rs +++ b/src/shell/history/entry.rs @@ -44,7 +44,7 @@ impl Entry { offset: time::UtcOffset, ) { let idx = self.env.idx(); - let size = vt.screen().size(); + let size = out.screen().size(); let time = self.state.exit_info().map_or_else( || { format!( |