git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
termcol: reference xterm for 256 colour title, rxvt for 88
[sheet.git]
/
termcol.inc.pl
diff --git
a/termcol.inc.pl
b/termcol.inc.pl
index 715c17492783a2d3d77edbcd591312e64a66871b..48b140ce0eee3a8ee110a95eaea7f1708fe30c5b 100644
(file)
--- a/
termcol.inc.pl
+++ b/
termcol.inc.pl
@@
-169,7
+169,7
@@
use Shiar_Sheet::Colour '1.02';
],
},
ansi88 => {
],
},
ansi88 => {
- name => '
88-colour space
',
+ name => '
rxvt 88 colour extension
',
rgbmap => [
4 => sub {
$_[2] + 4 * ($_[1] + 4 * $_[0]) + 16,
rgbmap => [
4 => sub {
$_[2] + 4 * ($_[1] + 4 * $_[0]) + 16,
@@
-179,7
+179,9
@@
use Shiar_Sheet::Colour '1.02';
],
},
ansi256 => {
],
},
ansi256 => {
- name => '256-colour space',
+ name => 'xterm 256 colour extension',
+ href => 'http://web.archive.org/web/20130125000058/http://www.frexx.de/xterm-256-notes/',
+ # \033[38;5;${FG}m
rgbmap => [
6 => sub {
$_[2] + 6 * ($_[1] + 6 * $_[0]) + 16,
rgbmap => [
6 => sub {
$_[2] + 6 * ($_[1] + 6 * $_[0]) + 16,