summaryrefslogtreecommitdiffstats
path: root/zellij-server/src/tab
diff options
context:
space:
mode:
authorEatgrass <eatgrass@live.cn>2023-11-05 08:30:35 -0600
committerGitHub <noreply@github.com>2023-11-05 15:30:35 +0100
commit7f87d93a430a47c82ce3f177a6a2609d3f6abade (patch)
tree677e43c0c0613ef2e20377295c5e2212833c028f /zellij-server/src/tab
parent3942000e868ce62b23414ced3bd980d30e0d84b0 (diff)
feat(terminal): support styled underlines (#2730)
* feat: support styled underlines * remove deadcode * Add ansi_underlines config option * Add missing variables * Add ansi_underlines on Output and OutputBuffer * Fix tests * Add separate styled underline enum * Remove ansi_underlines from fg and bg * Remove unneeded variables * Rename ansi_underlines -> styled_underlines * Simplify CharacterStyles::new() * Move styled_underlines config description * Fix single underline and remove extra field on CharacterStyles * Read styled-underlines flag from cli opts * remove extra attribute left from merge conflict --------- Co-authored-by: Mike Lloyd <mike.lloyd03@pm.me> Co-authored-by: Mike Lloyd <49411532+mike-lloyd03@users.noreply.github.com> Co-authored-by: Aram Drevekenin <aram@poor.dev>
Diffstat (limited to 'zellij-server/src/tab')
-rw-r--r--zellij-server/src/tab/unit/tab_integration_tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-server/src/tab/unit/tab_integration_tests.rs b/zellij-server/src/tab/unit/tab_integration_tests.rs
index 21e7d0d7b..c3309f558 100644
--- a/zellij-server/src/tab/unit/tab_integration_tests.rs
+++ b/zellij-server/src/tab/unit/tab_integration_tests.rs
@@ -2049,7 +2049,7 @@ fn move_floating_pane_with_sixel_image() {
width: 8,
height: 21,
})));
- let mut output = Output::new(sixel_image_store.clone(), character_cell_size);
+ let mut output = Output::new(sixel_image_store.clone(), character_cell_size, true);
tab.toggle_floating_panes(Some(client_id), None).unwrap();
tab.new_pane(new_pane_id, None, None, None, Some(client_id))
@@ -2087,7 +2087,7 @@ fn floating_pane_above_sixel_image() {
width: 8,
height: 21,
})));
- let mut output = Output::new(sixel_image_store.clone(), character_cell_size);
+ let mut output = Output::new(sixel_image_store.clone(), character_cell_size, true);
tab.toggle_floating_panes(Some(client_id), None).unwrap();
tab.new_pane(new_pane_id, None, None, None, Some(client_id))