feat(ui): bring back fullscreen indication (#3688)
* feat(ui): bring back fullscreen indication * fix e2e tests
This commit is contained in:
parent
20f114d02c
commit
61908a7cfe
3 changed files with 10 additions and 5 deletions
|
|
@ -89,8 +89,11 @@ pub fn tab_style(
|
|||
capabilities: PluginCapabilities,
|
||||
) -> LinePart {
|
||||
let separator = tab_separator(capabilities);
|
||||
if tab.is_sync_panes_active {
|
||||
tabname.push_str(" (Sync)");
|
||||
|
||||
if tab.is_fullscreen_active {
|
||||
tabname.push_str(" (FULLSCREEN)");
|
||||
} else if tab.is_sync_panes_active {
|
||||
tabname.push_str(" (SYNC)");
|
||||
}
|
||||
// we only color alternate tabs differently if we can't use the arrow fonts to separate them
|
||||
if !capabilities.arrow_fonts {
|
||||
|
|
|
|||
|
|
@ -89,8 +89,10 @@ pub fn tab_style(
|
|||
) -> LinePart {
|
||||
let separator = tab_separator(capabilities);
|
||||
|
||||
if tab.is_sync_panes_active {
|
||||
tabname.push_str(" (Sync)");
|
||||
if tab.is_fullscreen_active {
|
||||
tabname.push_str(" (FULLSCREEN)");
|
||||
} else if tab.is_sync_panes_active {
|
||||
tabname.push_str(" (SYNC)");
|
||||
}
|
||||
// we only color alternate tabs differently if we can't use the arrow fonts to separate them
|
||||
if !capabilities.arrow_fonts {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ source: src/tests/e2e/cases.rs
|
|||
assertion_line: 386
|
||||
expression: last_snapshot
|
||||
---
|
||||
Zellij (e2e-test) Tab #1
|
||||
Zellij (e2e-test) Tab #1 (FULLSCREEN)
|
||||
┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│$ █ │
|
||||
│ │
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue