aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/mod.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-03-20 01:55:13 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:47:51 +0530
commitfd1debaa79da2f03c37c7a92a0e5c0eef490feff (patch)
tree7e898267d56497a7123bf5505f72cdde2d6c18e1 /src/common/mod.rs
parentIntroduce ServerContext (diff)
downloadsl0ppij-fd1debaa79da2f03c37c7a92a0e5c0eef490feff.tar.gz
sl0ppij-fd1debaa79da2f03c37c7a92a0e5c0eef490feff.tar.xz
sl0ppij-fd1debaa79da2f03c37c7a92a0e5c0eef490feff.zip
Fix after rebase
Diffstat (limited to 'src/common/mod.rs')
-rw-r--r--src/common/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs
index e8883d4f..9554eb78 100644
--- a/src/common/mod.rs
+++ b/src/common/mod.rs
@@ -432,6 +432,12 @@ pub fn start(
screen.apply_layout(Layout::new(layout), new_pane_pids);
command_is_executing.done_opening_new_pane();
}
+ ScreenInstruction::GoToTab(tab_index) => {
+ screen.go_to_tab(tab_index as usize)
+ }
+ ScreenInstruction::UpdateTabName(c) => {
+ screen.update_active_tab_name(c);
+ }
ScreenInstruction::Exit => {
break;
}