mirror of
https://github.com/zellij-org/zellij.git
synced 2024-12-28 11:42:41 +03:00
Revert accidental rename of ToggleActiveSyncTab
This commit is contained in:
parent
ce92374f8e
commit
74b5479629
@ -200,7 +200,7 @@ pub enum ScreenContext {
|
||||
PageScrollDown,
|
||||
ClearScroll,
|
||||
CloseFocusedPane,
|
||||
ToggleActiveSyncPanes,
|
||||
ToggleActiveSyncTab,
|
||||
ToggleActiveTerminalFullscreen,
|
||||
SetSelectable,
|
||||
SetInvisibleBorders,
|
||||
@ -261,7 +261,7 @@ impl From<&ScreenInstruction> for ScreenContext {
|
||||
ScreenInstruction::UpdateTabName(_) => ScreenContext::UpdateTabName,
|
||||
ScreenInstruction::TerminalResize(_) => ScreenContext::TerminalResize,
|
||||
ScreenInstruction::ChangeMode(_) => ScreenContext::ChangeMode,
|
||||
ScreenInstruction::ToggleActiveSyncPanes => ScreenContext::ToggleActiveSyncPanes,
|
||||
ScreenInstruction::ToggleActiveSyncTab => ScreenContext::ToggleActiveSyncTab,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ pub enum Action {
|
||||
/// Toggle between fullscreen focus pane and normal layout.
|
||||
ToggleFocusFullscreen,
|
||||
/// Toggle between sending text commands to all panes on the current tab and normal mode.
|
||||
ToggleActiveSyncPanes,
|
||||
ToggleActiveSyncTab,
|
||||
/// Open a new pane in the specified direction (relative to focus).
|
||||
/// If no direction is specified, will try to use the biggest available space.
|
||||
NewPane(Option<Direction>),
|
||||
|
@ -52,7 +52,7 @@ pub enum ScreenInstruction {
|
||||
NewTab(RawFd),
|
||||
SwitchTabNext,
|
||||
SwitchTabPrev,
|
||||
ToggleActiveSyncPanes,
|
||||
ToggleActiveSyncTab,
|
||||
CloseTab,
|
||||
GoToTab(u32),
|
||||
UpdateTabName(Vec<u8>),
|
||||
@ -551,7 +551,7 @@ pub fn screen_thread_main(
|
||||
ScreenInstruction::ChangeMode(mode_info) => {
|
||||
screen.change_mode(mode_info);
|
||||
}
|
||||
ScreenInstruction::ToggleActiveSyncPanes => {
|
||||
ScreenInstruction::ToggleActiveSyncTab => {
|
||||
screen
|
||||
.get_active_tab_mut()
|
||||
.unwrap()
|
||||
|
@ -140,10 +140,10 @@ fn route_action(action: Action, session: &SessionMetaData, os_input: &dyn Server
|
||||
.send_to_screen(ScreenInstruction::SwitchTabPrev)
|
||||
.unwrap();
|
||||
}
|
||||
Action::ToggleActiveSyncPanes => {
|
||||
Action::ToggleActiveSyncTab => {
|
||||
session
|
||||
.senders
|
||||
.send_to_screen(ScreenInstruction::ToggleActiveSyncPanes)
|
||||
.send_to_screen(ScreenInstruction::ToggleActiveSyncTab)
|
||||
.unwrap();
|
||||
}
|
||||
Action::CloseTab => {
|
||||
|
Loading…
Reference in New Issue
Block a user