From 4e55372bf71a0f20c040a25d9254a2986a9f5f18 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 8 Mar 2022 00:47:19 -0500 Subject: use the current size when rendering an entry not the size of the terminal when the entry was run --- src/shell/history/entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!( -- cgit v1.2.3