summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zellij-client/src/input_handler.rs2
-rw-r--r--zellij-server/src/route.rs2
-rw-r--r--zellij-utils/assets/config/default.yaml2
-rw-r--r--zellij-utils/src/input/actions.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/zellij-client/src/input_handler.rs b/zellij-client/src/input_handler.rs
index 7f5787660..d262bfa93 100644
--- a/zellij-client/src/input_handler.rs
+++ b/zellij-client/src/input_handler.rs
@@ -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
diff --git a/zellij-server/src/route.rs b/zellij-server/src/route.rs
index 7092f3e95..92a89966e 100644
--- a/zellij-server/src/route.rs
+++ b/zellij-server/src/route.rs
@@ -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)
diff --git a/zellij-utils/assets/config/default.yaml b/zellij-utils/assets/config/default.yaml
index 2be0911d6..0b102d701 100644
--- a/zellij-utils/assets/config/default.yaml
+++ b/zellij-utils/assets/config/default.yaml
@@ -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,]
diff --git a/zellij-utils/src/input/actions.rs b/zellij-utils/src/input/actions.rs
index 977c1a48a..589b3935c 100644
--- a/zellij-utils/src/input/actions.rs
+++ b/zellij-utils/src/input/actions.rs
@@ -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),