aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.rs
diff options
context:
space:
mode:
authorDoron Tsur <qballer@gmail.com>2020-12-19 18:36:23 +0200
committerGitHub <noreply@github.com>2020-12-19 17:36:23 +0100
commit75b00b7932e85ae6b88aa1dfc7c70e26a437cd2e (patch)
tree33f44ced59228ad496cd05bfd749f3e07e4ecc66 /src/screen.rs
parentfix(compatibility): fish multiline paste (#112) (diff)
downloadsl0ppij-75b00b7932e85ae6b88aa1dfc7c70e26a437cd2e.tar.gz
sl0ppij-75b00b7932e85ae6b88aa1dfc7c70e26a437cd2e.tar.xz
sl0ppij-75b00b7932e85ae6b88aa1dfc7c70e26a437cd2e.zip
refactor(tabs): lay down infrastructure for status bar (#116)
* resolves #76 * move private fun to bottom * refactor(tabs): do not allocate when filtering panes to terminals * style(formatting): make rustfmt happy Co-authored-by: Aram Drevekenin <aram@poor.dev>
Diffstat (limited to 'src/screen.rs')
-rw-r--r--src/screen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.rs b/src/screen.rs
index b0cd4d83..b8249a5b 100644
--- a/src/screen.rs
+++ b/src/screen.rs
@@ -135,7 +135,7 @@ impl Screen {
self.switch_tab_prev();
}
let mut active_tab = self.tabs.remove(&active_tab_index).unwrap();
- let pane_ids = active_tab.get_pane_ids();
+ let pane_ids = active_tab.get_terminal_pane_ids();
self.send_pty_instructions
.send(PtyInstruction::CloseTab(pane_ids))
.unwrap();