ref: 0b9b0a516f53c7b8983645fbd30f1d326080772d
parent: d4655a96f77d78f4c7b1c9fdab95759e58bd1661
author: noodle <noodle@pastanoggin.com>
date: Sun Feb 15 09:54:47 EST 2026
add prooftweak-skulltoconfirmcursor: change the skull cursor to confirmcursor from mothra, as to differentiate from program exit and rio exit
--- /dev/null
+++ b/prooftweak-skulltoconfirmcursor
@@ -1,0 +1,84 @@
+From: noodle <noodle@pastanoggin.com>
+Date: Sun, 15 Feb 2026 14:55:36 +0000
+Subject: [PATCH] proof, tweak: change the skull cursor to confirmcursor from mothra, as to differentiate from program exit and rio exit
+
+---
+diff 1f7a9afa1844eff180d042858e6c7b02282b95e5 564d63e3a8eb3ca5f0594c2e9b0333b27439c62f
+--- a/sys/src/cmd/proof/screen.c
++++ b/sys/src/cmd/proof/screen.c
+@@ -278,16 +278,16 @@
+ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, }
+ };
+
+-Cursor skull ={+- { 0, 0 },+- { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x03,+- 0xE7, 0xE7, 0x3F, 0xFC, 0x0F, 0xF0, 0x0D, 0xB0,
+- 0x07, 0xE0, 0x06, 0x60, 0x37, 0xEC, 0xE4, 0x27,
+- 0xC3, 0xC3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, },
+- { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x03,+- 0xE7, 0xE7, 0x3F, 0xFC, 0x0F, 0xF0, 0x0D, 0xB0,
+- 0x07, 0xE0, 0x06, 0x60, 0x37, 0xEC, 0xE4, 0x27,
+- 0xC3, 0xC3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }
++Cursor confirmcursor={++ { 0, 0, },++ { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,++ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
++ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
++ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, },
++ { 0x00, 0x0E, 0x07, 0x1F, 0x03, 0x17, 0x73, 0x6F,++ 0xFB, 0xCE, 0xDB, 0x8C, 0xDB, 0xC0, 0xFB, 0x6C,
++ 0x77, 0xFC, 0x00, 0x00, 0x00, 0x01, 0x00, 0x03,
++ 0x94, 0xA6, 0x63, 0x3C, 0x63, 0x18, 0x94, 0x90, }
+ };
+
+ confirm(int but) /* ask for confirmation if menu item ends with '?' */
+@@ -295,7 +295,7 @@
+ int c;
+ static int but_cvt[8] = { 0, 1, 2, 0, 3, 0, 0, 0 };+
+- esetcursor(&skull);
++ esetcursor(&confirmcursor);
+ c = waitdown();
+ waitup();
+ esetcursor(0);
+--- a/sys/src/cmd/tweak.c
++++ b/sys/src/cmd/tweak.c
+@@ -136,16 +136,16 @@
+ 0x17, 0xf0, 0x03, 0xe0, 0x00, 0x00, 0x00, 0x00,}
+ };
+
+-Cursor skull = {+- {-7,-7},+- {0x00, 0x00, 0x00, 0x00, 0xc0, 0x03, 0xe7, 0xe7, +- 0xff, 0xff, 0xff, 0xff, 0x3f, 0xfc, 0x1f, 0xf8,
+- 0x0f, 0xf0, 0x3f, 0xfc, 0xff, 0xff, 0xff, 0xff,
+- 0xef, 0xf7, 0xc7, 0xe3, 0x00, 0x00, 0x00, 0x00,},
+- {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x03,+- 0xE7, 0xE7, 0x3F, 0xFC, 0x0F, 0xF0, 0x0D, 0xB0,
+- 0x07, 0xE0, 0x06, 0x60, 0x37, 0xEC, 0xE4, 0x27,
+- 0xC3, 0xC3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,}
++Cursor confirmcursor={++ {-7, -7},++ {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,++ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
++ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
++ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,},
++ {0x00, 0x0e, 0x07, 0x1f, 0x03, 0x17, 0x73, 0x6f,++ 0xfb, 0xce, 0xdb, 0x8c, 0xdb, 0xc0, 0xfb, 0x6c,
++ 0x77, 0xfc, 0x00, 0x00, 0x00, 0x01, 0x00, 0x03,
++ 0x94, 0xa6, 0x63, 0x3c, 0x63, 0x18, 0x94, 0x90,}
+ };
+
+ Rectangle cntlr; /* control region */
+@@ -2134,7 +2134,7 @@
+ mesg("%s modified", mod);+ break;
+ }
+- esetcursor(&skull);
++ esetcursor(&confirmcursor);
+ buttons(Down);
+ if(mouse.buttons == 4){+ buttons(Up);
+--
+⑨
--
⑨