feat: Add support for italic styles (#354) (#358)

This commit is contained in:
Rob Warner
2019-09-12 17:10:42 -04:00
committed by Kevin Song
parent b25046e897
commit 373493be85
2 changed files with 12 additions and 4 deletions
+2 -1
View File
@@ -48,9 +48,10 @@ Most modules in starship allow you to configure their display styles. This is do
- `"bg:blue fg:bright-green"` sets bright green text on a blue background
- `"bold fg:27"` sets bold text with [ANSI color](https://i.stack.imgur.com/KTSQa.png) 27
- `"underline bg:#bf5700"` sets underlined text on a burnt orange background
- `"bold italic fg:purple"` sets bold italic purple text
- `""` explicitly disables all styling
Note that what styling looks like will be controlled by your terminal emulator. For example, some terminal emulators will brighten the colors instead of bolding text, and some color themes use the same values for the normal and bright colors.
Note that what styling looks like will be controlled by your terminal emulator. For example, some terminal emulators will brighten the colors instead of bolding text, and some color themes use the same values for the normal and bright colors. Also, to get italic text, your terminal must support italics.
## Prompt