From 692599387bc55cf7f0b41869f2df1fc47e8b491d Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 13 Apr 2025 15:10:57 +0200 Subject: [PATCH] colors: test weird behavior of "--background=normal" --- tests/checks/set_color.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/checks/set_color.fish b/tests/checks/set_color.fish index 36def1f35..cd10bf6fa 100644 --- a/tests/checks/set_color.fish +++ b/tests/checks/set_color.fish @@ -12,3 +12,8 @@ string escape (set_color red reset yellow) string escape (set_color --background=reset) # CHECKERR: set_color: Unknown color 'reset' + +string escape (set_color --bold red --background=normal) +# CHECK: \e\[m +string escape (set_color --bold red --background=blue) +# CHECK: \e\[1m\e\[31m\e\[44m