mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-27 23:11:15 -03:00
set_color: allow resetting specific attributes
Add an optional `on`/`off`` value to italics/reverse/striketrough to allow turning of the attribute without having to use the `normal` color, i.e. reset the whole style Part 1/3 of #12495 Part of #12507
This commit is contained in:
committed by
Johannes Altmanninger
parent
cba82a3c64
commit
a893dd10f4
@@ -48,14 +48,14 @@ The following options are available:
|
||||
**-d** or **--dim**
|
||||
Sets dim mode.
|
||||
|
||||
**-i** or **--italics**
|
||||
Sets italics mode.
|
||||
**-i** or **--italics**, or **-iSTATE** or **--italics=STATE**
|
||||
Sets italics mode. The state can be **on** / **true** (default), or **off** / **false**
|
||||
|
||||
**-r** or **--reverse**
|
||||
Sets reverse mode.
|
||||
**-r** or **--reverse**, or **-iSTATE** or **--reverse=STATE**
|
||||
Sets reverse mode. The state can be **on** / **true** (default), or **off** / **false**
|
||||
|
||||
**-s** or **--strikethrough**
|
||||
Sets strikethrough mode.
|
||||
**-s** or **--strikethrough**, or **-sSTATE** or **--strikethrough=STATE**
|
||||
Sets strikethrough mode. The state can be **on** / **true** (default), or **off** / **false**
|
||||
|
||||
**-u** or **--underline**, or **-uSTYLE** or **--underline=STYLE**
|
||||
Set the underline mode; supported styles are **single** (default), **double**, **curly**, **dotted** and **dashed**.
|
||||
|
||||
Reference in New Issue
Block a user