Files
fish-shell/doc_src/cmds
Johannes Altmanninger ce631fd2fb Colored underlines in set_color and fish_color_*
Add a new underline-color option to set_color (instead of adding an optional
color argument to --underline); this allows to set the underline color
independently of underline style (line, curly, etc.). I don't think this
flexibility is very important but this approach is probably the least hacky.

Note that there are two variants:
1. \e[58:5:1m
2. \e[58;5;1m

Variant 1 breaks:
breakage from colon-variant for colored underlines
- cool-retro-term makes text blink
- GNU screen (goes into bold mode)
- terminology (goes into bold mode)

Variant 2 would break:
- mintty (Cygwin terminal) -- it enables bold font instead.
- Windows Terminal (where it paints the foreground yellow)
- JetBrains terminals echo the colons instead of consuming them
- putty
- GNU screen (goes into bold mode)
- st
- urxvt
- xterm
- etc.

So choose variant 1.

Closes #11388
Closes #7619
2025-04-21 18:38:11 +02:00
..
2025-02-11 22:51:06 +08:00
2024-09-18 22:11:14 +02:00
2023-06-05 18:26:13 +02:00
2025-04-20 21:54:57 +02:00
2024-04-23 19:36:11 +02:00
2025-03-01 07:55:53 +01:00
2025-03-30 19:42:00 +02:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2025-04-11 15:11:22 +02:00
2023-11-18 18:27:25 -08:00
2025-04-11 17:29:22 +02:00
2025-03-30 19:42:00 +02:00
2023-01-09 20:33:37 +01:00
2023-02-28 20:49:11 +01:00
2022-10-19 20:10:26 +02:00
2024-06-23 17:45:52 -05:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2022-03-12 00:21:13 +08:00
2024-09-14 10:29:44 +02:00
2025-03-15 16:36:13 +01:00
2025-01-06 19:40:30 -06:00
2025-01-06 19:40:30 -06:00
2022-03-12 00:21:13 +08:00
2023-01-09 20:33:37 +01:00
2022-09-17 21:31:06 +08:00
2022-03-12 00:21:13 +08:00
2024-09-18 22:11:14 +02:00