summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-16 20:58:54 -0400
committerJune McEnroe <june@causal.agency>2019-07-16 20:58:54 -0400
commit4bcfb44a35999b6b99924334cb05b34da09a1d59 (patch)
treed84ff3169ac488e15936ffc2608a28bf9757e585 /bin
parentAdd up -t (diff)
downloadsrc-4bcfb44a35999b6b99924334cb05b34da09a1d59.tar.gz
src-4bcfb44a35999b6b99924334cb05b34da09a1d59.zip
Fix SGRs 90 and 100
Diffstat (limited to 'bin')
-rw-r--r--bin/shotty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/shotty.c b/bin/shotty.c
index 3e0cfb25..9036f874 100644
--- a/bin/shotty.c
+++ b/bin/shotty.c
@@ -318,9 +318,9 @@ static char updateCSI(wchar_t ch) {
 						} else if (ps[i] >= 40 && ps[i] <= 47) {
 							style.bg = ps[i] - 40;
 						} else if (ps[i] >= 90 && ps[i] <= 97) {
-							style.fg = 7 + ps[i] - 90;
+							style.fg = 8 + ps[i] - 90;
 						} else if (ps[i] >= 100 && ps[i] <= 107) {
-							style.bg = 7 + ps[i] - 100;
+							style.bg = 8 + ps[i] - 100;
 						} else {
 							warnx("unhandled SGR %u", ps[i]);
 						}
20-12-02 20:16:52 -0500'>2020-12-02Fix missing "to" in "hot tips"June McEnroe 2020-12-02Publish "hot tips"June McEnroe 2020-11-26Publish "Inability"June McEnroe 2020-11-26Render content into atom feedJune McEnroe 2020-11-26Update plan with different things I won't doJune McEnroe 2020-11-19Add "Come On Petunia"June McEnroe 2020-11-13Add x4 to LESSJune McEnroe 2020-11-04Remove modified sensitivity settingsJune McEnroe 2020-10-29Remove editJune McEnroe 2020-10-27Switch gr alias back to git rebaseJune McEnroe 2020-10-27Allow cd host: to cd to same path over sshJune McEnroe 2020-10-27Use SendEnv for cd host:pathJune McEnroe 2020-10-27Allow cd host:path over sshJune McEnroe 2020-10-07Use mandoc -T utf8 for text.June McEnroe 2020-09-20Add The Awakened KingdomJune McEnroe 2020-09-12Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe