Skip to content

Commit

Permalink
update menu_text
Browse files Browse the repository at this point in the history
  • Loading branch information
YuviTz1 committed Mar 11, 2023
1 parent 3fa364e commit 8c52728
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,13 @@ impl MenuMode {
}
}

menu_text.push_str(" | SHIFT + TAB - Chain Commands | TAB - Edit | ⏎ - Run");
menu_text.push_str(" | Current chain: ");
menu_text.push_str(" | SHIFT + TAB - Chain Commands | ");
if interface.settings.disable_run_command {
menu_text.push_str("⏎, TAB - Edit | ");
} else {
menu_text.push_str("⏎ - Run | TAB - Edit | ");
}
menu_text.push_str("Current chain: ");
menu_text.push_str(&commands_to_execute);
return menu_text;
}
Expand Down

0 comments on commit 8c52728

Please sign in to comment.