Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Colors

The [colors] section turns colored output on or off and sets the color of each part of the output.

use_colors decides whether there are colors at all:

ValueColors
auto (default)Only on a terminal that can show them
alwaysAlways, even when the output goes to a file or a pipe
neverNever, as if every color below were None

With auto, output to a file or a pipe is plain text, and so is everything when the environment has NO_COLOR set or CLICOLOR=0, the terminal is TERM=dumb, or an old Windows console can’t show colors (CLICOLOR_FORCE=1 turns them back on, except in the last two cases). A change takes effect without a restart.

The other settings pick the color of each part:

SettingColorsDefault
source_prompt_colorThe prompt, [auto → ru]: , and the corrected word in a spelling noticeNone
target_prompt_colorThe provider label, [google]: BrightYellow
dictionary_prompt_colorThe dictionary label, [Word]: BrightYellow
part_of_speech_colorParts of speech in a dictionary entry (Noun, Глагол)Cyan
synonym_colorSynonyms in a dictionary entry, [fierce, brutal]Green
notice_colorThe spelling-correction noticeMagenta
error_colorErrors: translation, speech, clipboard, historyRed

The values: Black, Red, Green, Yellow, Blue, Magenta, Cyan, White, their bright variants (BrightBlack … BrightWhite), or None for the terminal’s own color.

[colors]
target_prompt_color = "BrightCyan"
synonym_color = "None"

The clipboard and the history file always get plain text.