evil-qemacs/tests/reset-term-palette.sh
Charlie Gordon e566f23064 Fixed color handling
- bumped VERSION to 6.2.1
- add `css_get_color_name()` to get the name or hex spec for a color
- display style details in style completion window
- add `insert-color` command on `C-c #` to convert color names to hex strings
- fix missing intializers in `scale_cube6[]`
- improve grey/gray aliasing
- add color parser for XParseColor hex syntax rgb:rrrr/gggg/bbbb
- add `tests/reset-term-palette.sh` to reset the terminal color palette to
  default values.
2024-09-08 01:06:17 +02:00

12 lines
307 B
Bash
Executable file

#!/usr/bin/env bash
#
# this script resets the terminal colors to its default settings
#
# reset all palette colors
printf "\033]104\007"
# reset all special colors
printf "\033]105\007"
# reset default text foreground color
printf "\033]110\007"
# reset default text background color
printf "\033]111\007"