about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-07-30 16:30:52 -0400
committerJune McEnroe <june@causal.agency>2017-07-30 16:30:52 -0400
commita505ca1ee37892e31eb6baeba3a4b8376cdbed57 (patch)
tree3f06a3ce3b88df986af90739b4b0ecd9e5cc1429
parentFix help to track color (diff)
downloadtorus-a505ca1ee37892e31eb6baeba3a4b8376cdbed57.tar.gz
torus-a505ca1ee37892e31eb6baeba3a4b8376cdbed57.zip
Update help
-rwxr-xr-xhelp.c25
1 files changed, 16 insertions, 9 deletions
diff --git a/help.c b/help.c
index 40c7adb..ec4a861 100755
--- a/help.c
+++ b/help.c
@@ -144,7 +144,7 @@ int main() {
         white(); mvPut( 1,  1, '/');
         brite(); mvPut( 1, -1, 'u');
 
-        clientMove(5, 0);
+        clientMove(5, -1);
         brite(); string("q");
         white(); string(" quit");
         enter();
@@ -160,8 +160,14 @@ int main() {
         brite(); string("~");
         white(); string(" color");
         enter();
+        brite(); string("`");
+        white(); string(" pipette");
+        enter();
+        brite(); string("*");
+        white(); string(" bright");
+        enter();
 
-        clientMove(13, -6);
+        clientMove(13, -7);
         color = COLOR_RED;     mvPut(0, 0, '1');
         color = COLOR_GREEN;   mvPut(0, 1, '2');
         color = COLOR_YELLOW;  mvPut(0, 1, '3');
@@ -169,15 +175,16 @@ int main() {
         color = COLOR_MAGENTA; mvPut(0, 1, '5');
         color = COLOR_CYAN;    mvPut(0, 1, '6');
         color = COLOR_WHITE;   mvPut(0, 1, '7');
-        color = COLOR_BRIGHT | COLOR_WHITE;   mvPut(2,  0, '&');
-        color = COLOR_BRIGHT | COLOR_CYAN;    mvPut(0, -1, '^');
-        color = COLOR_BRIGHT | COLOR_MAGENTA; mvPut(0, -1, '%');
-        color = COLOR_BRIGHT | COLOR_BLUE;    mvPut(0, -1, '$');
-        color = COLOR_BRIGHT | COLOR_YELLOW;  mvPut(0, -1, '#');
-        color = COLOR_BRIGHT | COLOR_GREEN;   mvPut(0, -1, '@');
-        color = COLOR_BRIGHT | COLOR_RED;     mvPut(0, -1, '!');
+        color = COLOR_WHITE   << 4; mvPut(2,  0, '&');
+        color = COLOR_CYAN    << 4; mvPut(0, -1, '^');
+        color = COLOR_MAGENTA << 4; mvPut(0, -1, '%');
+        color = COLOR_BLUE    << 4; mvPut(0, -1, '$');
+        color = COLOR_YELLOW  << 4; mvPut(0, -1, '#');
+        color = COLOR_GREEN   << 4; mvPut(0, -1, '@');
+        color = COLOR_RED     << 4; mvPut(0, -1, '!');
 
         clientMove(-26, -3);
+        color = COLOR_WHITE;
 
         sleep(30);
     }
co' href='/exman/tag/?h=2062.83'>2062.83June McEnroe 2022-07-27openbsd: Include man pages from baseXX.tgzKeith Whitney 2022-05-08Update to OpenBSD 7.1 2062.73June McEnroe 2021-10-15Update to OpenBSD 7.0 2062.63June McEnroe 2021-08-29Update to Linux man-pages 5.13 2062.53Štěpán Němec 2021-08-26Update to NetBSD 9.2 2062.52June McEnroe 2021-08-26Support DESTDIR in install/uninstallJune McEnroe 2021-08-26Add version number generatorJune McEnroe 2021-08-22Add ISC license headerJune McEnroe 2021-08-22Update to Linux man-pages 5.12Štěpán Němec 2021-06-21Add manuals for macOS 11.3June McEnroe 2021-05-08Update to OpenBSD 6.9June McEnroe 2021-04-26Update to Linux man-pages 5.11June McEnroe 2021-04-26Update to FreeBSD 13.0June McEnroe 2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe 2020-12-14Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroewin! 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe This fixes badly indented comments. 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe