diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-03-08 20:17:31 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-03-08 20:17:31 -0500 |
commit | 4151ab7aab939a12721a0f4207c87b5c09ace339 (patch) | |
tree | db2f9935a3369aa18ebb6076188fda34fbd92bd8 /src/shell/history/entry.rs | |
parent | 0688cd6653e769846a4271ac2c251a7d96249396 (diff) | |
download | nbsh-4151ab7aab939a12721a0f4207c87b5c09ace339.tar.gz nbsh-4151ab7aab939a12721a0f4207c87b5c09ace339.zip |
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); |