mirror of
https://github.com/cheat/cheat.git
synced 2026-03-07 11:13:33 +01:00
Issue #349
Implements support for terminals with light backgrounds via a new `CHEAT_COLORSCHEME` envvar.
This commit is contained in:
@@ -118,6 +118,13 @@ export CHEAT_COLORS=true
|
||||
|
||||
Note that [pygments][] must be installed on your system for this to work.
|
||||
|
||||
`cheat` ships with both light and dark colorschemes to support terminals with
|
||||
different background colors. A colorscheme may be selected via the
|
||||
`CHEAT_COLORSCHEME` envvar:
|
||||
|
||||
```sh
|
||||
export CHEAT_COLORSCHEME=light # must be 'light' (default) or 'dark'
|
||||
```
|
||||
|
||||
#### Specifying a Syntax Highlighter ####
|
||||
You may manually specify which syntax highlighter to use for each cheatsheet by
|
||||
|
||||
Reference in New Issue
Block a user