summaryrefslogtreecommitdiffstats
path: root/src/event/action_map.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-11-28 21:07:00 +0100
committerqkzk <qu3nt1n@gmail.com>2023-11-28 21:07:00 +0100
commit0f28d763b339e7ec7d794c264a1acc42cb3ebacc (patch)
treefc7337e5c90c5bd904be3a153d9855b64eaeda3d /src/event/action_map.rs
parent722ae6836ef6067805d03614c67ed80feb435267 (diff)
prevent inxi from reading graphics drivers, which may hang.
Diffstat (limited to 'src/event/action_map.rs')
-rw-r--r--src/event/action_map.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/event/action_map.rs b/src/event/action_map.rs
index abccaec..df8dba7 100644
--- a/src/event/action_map.rs
+++ b/src/event/action_map.rs
@@ -17,7 +17,7 @@ pub enum ActionMap {
Bulk,
Chmod,
ClearFlags,
- CliInfo,
+ CliMenu,
Command,
Compress,
CopyFilename,
@@ -85,7 +85,7 @@ pub enum ActionMap {
SetWallpaper,
Shell,
ShellCommand,
- ShellMenu,
+ TuiMenu,
Shortcut,
Sort,
Symlink,
@@ -118,7 +118,7 @@ impl ActionMap {
ActionMap::Bulk => EventAction::bulk(status),
ActionMap::Chmod => EventAction::chmod(status),
ActionMap::ClearFlags => EventAction::clear_flags(status),
- ActionMap::CliInfo => EventAction::cli_info(status),
+ ActionMap::CliMenu => EventAction::cli_menu(status),
ActionMap::Command => EventAction::command(status),
ActionMap::Compress => EventAction::compress(status),
ActionMap::CopyFilename => EventAction::copy_filename(current_tab),
@@ -185,7 +185,6 @@ impl ActionMap {
ActionMap::SetWallpaper => EventAction::set_wallpaper(current_tab),
ActionMap::Shell => EventAction::shell(status),
ActionMap::ShellCommand => EventAction::shell_command(current_tab),
- ActionMap::ShellMenu => EventAction::shell_menu(current_tab),
ActionMap::Shortcut => EventAction::shortcut(current_tab),
ActionMap::Sort => EventAction::sort(current_tab),
ActionMap::Symlink => EventAction::symlink(status),
@@ -203,6 +202,7 @@ impl ActionMap {
ActionMap::TreeFold => EventAction::tree_fold(current_tab),
ActionMap::TreeFoldAll => EventAction::tree_fold_all(current_tab),
ActionMap::TreeUnFoldAll => EventAction::tree_unfold_all(current_tab),
+ ActionMap::TuiMenu => EventAction::tui_menu(current_tab),
ActionMap::Custom(string) => EventAction::custom(status, string),
ActionMap::Nothing => Ok(()),