diff options
Diffstat (limited to 'src/event/event_exec.rs')
-rw-r--r-- | src/event/event_exec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/event_exec.rs b/src/event/event_exec.rs index 40e6525..c2eed4d 100644 --- a/src/event/event_exec.rs +++ b/src/event/event_exec.rs @@ -269,8 +269,8 @@ impl EventAction { /// Once a quit event is received, we change a flag and break the main loop. /// It's usefull to reset the cursor before leaving the application. - pub fn quit(tab: &mut Tab) -> Result<()> { - tab.must_quit = true; + pub fn quit(status: &mut Status) -> Result<()> { + status.must_quit = true; Ok(()) } /// Toggle the display of hidden files. |