diff options
| author | Brooks J Rady <b.j.rady@gmail.com> | 2021-06-01 18:05:32 +0100 |
|---|---|---|
| committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-06-01 18:05:32 +0100 |
| commit | 98c29832e17683875d5c40c65c5df184972554da (patch) | |
| tree | 3d8b8b45d5ee9eec5b5b2423a7d93f041f763b98 /default-plugins | |
| parent | Getting back to where we started... (Buggy Resizing) (diff) | |
| parent | docs(changelog): add disable-status-bar layout (diff) | |
| download | sl0ppij-98c29832e17683875d5c40c65c5df184972554da.tar.gz sl0ppij-98c29832e17683875d5c40c65c5df184972554da.tar.xz sl0ppij-98c29832e17683875d5c40c65c5df184972554da.zip | |
Merge branch 'main' into resize-overhaul
Diffstat (limited to 'default-plugins')
| -rw-r--r-- | default-plugins/tab-bar/src/tab.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/default-plugins/tab-bar/src/tab.rs b/default-plugins/tab-bar/src/tab.rs index fb8e377d..7e83e85b 100644 --- a/default-plugins/tab-bar/src/tab.rs +++ b/default-plugins/tab-bar/src/tab.rs @@ -46,11 +46,7 @@ pub fn tab_style( capabilities: PluginCapabilities, ) -> LinePart { let separator = tab_separator(capabilities); - let mut tab_text = if text.is_empty() { - format!("Tab #{}", position + 1) - } else { - text - }; + let mut tab_text = text; if is_sync_panes_active { tab_text.push_str(" (Sync)"); } |
