summaryrefslogtreecommitdiffstats
path: root/src/event/action_map.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-11-28 22:04:09 +0100
committerqkzk <qu3nt1n@gmail.com>2023-11-28 22:04:09 +0100
commit0bbbbbb399adbf20b4ad5742b5771a9e62659a48 (patch)
tree4ef8562eb31abda7279d66bc37bce7e4c96dedf7 /src/event/action_map.rs
parent9b8421317e65b68045d93019f1484ff594adc78b (diff)
moved must_quit to status
Diffstat (limited to 'src/event/action_map.rs')
-rw-r--r--src/event/action_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/action_map.rs b/src/event/action_map.rs
index e112462..1f1b7c6 100644
--- a/src/event/action_map.rs
+++ b/src/event/action_map.rs
@@ -171,7 +171,7 @@ impl ActionMap {
ActionMap::PageDown => EventAction::page_down(status),
ActionMap::PageUp => EventAction::page_up(status),
ActionMap::Preview => EventAction::preview(status),
- ActionMap::Quit => EventAction::quit(current_tab),
+ ActionMap::Quit => EventAction::quit(status),
ActionMap::RefreshIfNeeded => EventAction::refresh_if_needed(current_tab),
ActionMap::RefreshView => EventAction::refreshview(status),
ActionMap::RegexMatch => EventAction::regex_match(current_tab),