diff options
Diffstat (limited to 'src/shell/history/entry.rs')
-rw-r--r-- | src/shell/history/entry.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shell/history/entry.rs b/src/shell/history/entry.rs index 145e0cf..0491bf7 100644 --- a/src/shell/history/entry.rs +++ b/src/shell/history/entry.rs @@ -227,6 +227,10 @@ impl Entry { &self.cmdline } + pub fn start_time(&self) -> time::OffsetDateTime { + self.start_time + } + pub fn toggle_fullscreen(&mut self) { if let Some(fullscreen) = self.fullscreen { self.fullscreen = Some(!fullscreen); |