diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-08-02 16:18:35 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-08-02 16:28:25 +0530 |
commit | 83fa6a0ff62289c9f420a435d4457042f7c420c6 (patch) | |
tree | da9cb12f36dd06cc1905c27b4d6c28e52dfeca70 /nnn.1 | |
parent | 110a4eb108586fb1e2c3e05e17bd0e9f5fbf9b42 (diff) | |
download | nnn-83fa6a0ff62289c9f420a435d4457042f7c420c6.tar.gz |
Support xterm 256 color
Diffstat (limited to 'nnn.1')
-rw-r--r-- | nnn.1 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -408,9 +408,18 @@ separated by \fI;\fR: .Pp \fBNNN_COLORS:\fR string of color codes for each context, e.g.: .Bd -literal + # 8 color codes + # codes: 0-black, 1-red, 2-green, 3-yellow, 4-blue (default), 5-magenta, 6-cyan, 7-white export NNN_COLORS='1234' - codes: 0-black, 1-red, 2-green, 3-yellow, 4-blue (default), 5-magenta, 6-cyan, 7-white + # xterm 256 color codes (in hex) + # codes: https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg + export NNN_COLORS='#0a1b2c3d' + + # both (256 followed by 8 as fallback, separated by ';') + export NNN_COLORS='#0a1b2c3d;1234' + + NOTE: If only 256 colors are specified and the terminal doesn't support, default (4-blue) is used. .Ed .Pp \fBNNN_ARCHIVE:\fR archive types to be handled silently (default: bzip2, (g)zip, tar). |