mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
Underline styles for double/dotted/dashed
My phone uses dotted underline to indicate errors; that seems nice, a bit less aggressive than curly. Unfortunately dotted underlines are not as well supported in terminal emulators; sometimes they are barely visible. So it's unlikely that we want to use --underline=dotted for an important theme. Add double and dashed too I guess, even though I don't have a concrete use case..
This commit is contained in:
@@ -244,7 +244,7 @@ def parse_color(color_str):
|
||||
underline = "single"
|
||||
elif comp.startswith("--underline="):
|
||||
underline = comp.stripprefix("--underline=")
|
||||
elif comp.startswith("-u"): # Multiple short options like "-rbcurly" are not yet supported.
|
||||
elif comp.startswith("-u"): # Multiple short options like "-rucurly" are not yet supported.
|
||||
underline = comp.stripprefix("-u")
|
||||
elif comp == "--italics" or comp == "-i":
|
||||
italics = True
|
||||
|
||||
Reference in New Issue
Block a user