fix: rename action to ToggleTab
This commit is contained in:
parent
404faf0498
commit
081c55458d
4 changed files with 4 additions and 4 deletions
|
|
@ -188,7 +188,7 @@ impl InputHandler {
|
|||
| Action::GoToPreviousTab
|
||||
| Action::CloseTab
|
||||
| Action::GoToTab(_)
|
||||
| Action::GoToLastTab
|
||||
| Action::ToggleTab
|
||||
| Action::MoveFocusOrTab(_) => {
|
||||
self.command_is_executing.blocking_input_thread();
|
||||
self.os_input
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ fn route_action(
|
|||
) -> bool {
|
||||
let mut should_break = false;
|
||||
match action {
|
||||
Action::GoToLastTab => {
|
||||
Action::ToggleTab => {
|
||||
session
|
||||
.senders
|
||||
.send_to_screen(ScreenInstruction::ToggleTab)
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ keybinds:
|
|||
key: [ Char: '8',]
|
||||
- action: [GoToTab: 9,]
|
||||
key: [ Char: '9',]
|
||||
- action: [GoToLastTab]
|
||||
- action: [ToggleTab]
|
||||
key: [ Char: "\t" ]
|
||||
scroll:
|
||||
- action: [SwitchToMode: Normal,]
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ pub enum Action {
|
|||
/// Close the current tab.
|
||||
CloseTab,
|
||||
GoToTab(u32),
|
||||
GoToLastTab,
|
||||
ToggleTab,
|
||||
TabNameInput(Vec<u8>),
|
||||
/// Run speficied command in new pane.
|
||||
Run(RunCommandAction),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue