summaryrefslogtreecommitdiffstats
path: root/src/doc
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-03-14 23:17:17 -0300
committerAndrés <andmarti@gmail.com>2021-03-14 23:17:17 -0300
commit0aca263b755f49a0c82c6d72ba4ce9ed5c5632ce (patch)
treee6480f5dfd993df90fb59814eae66a64fe0c6d60 /src/doc
parent50ea88259e22270e9ff0c2f3e3b5b0c863fa276b (diff)
REDEFINE_COLOR now takes 0-255 RGB values
Diffstat (limited to 'src/doc')
-rwxr-xr-xsrc/doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc b/src/doc
index f8ec926..a4b61fa 100755
--- a/src/doc
+++ b/src/doc
@@ -801,18 +801,18 @@ Commands for handling cell content:
:redefine_color "{color}" {R} {G} {B}
Change the RGB values of the colors defined by ncurses.
- RGB values range from 0 to 1000.
+ RGB values range from 0 to 255.
Note: This requires that ncurses is built with
--enable-ext-colors, and the terminal must support 256 colors.
For example, TERM=xterm-256color. SC-IM must link to
ncursesw library and not the common ncurses library.
- Example: :redefine_color "RED" 700 100 100
+ Example: :redefine_color "RED" 250 0 0
To make this take effect every time SC-IM is started, you can
add it to $HOME/.config/sc-im/scimrc:
- REDEFINE_COLOR "RED" 700 100 100
+ REDEFINE_COLOR "RED" 250 0 0
Redefining the BLACK color itself is another way to change the
default background color of SC-IM.