wm: glendy

Download patch

ref: f129504a64665944bb91a66d33f0ba0d3a3e2bd3
parent: 2ef6cfea72549d08835a77a05c477668a4f518f2
author: mkf <mkf@cloud9p.org>
date: Sat May 11 13:15:50 EDT 2024

cli: fix ☺☹ for 2⁴²th time, and ignore \n

--- a/cli.c
+++ b/cli.c
@@ -10,7 +10,7 @@
 #include "unix.h"
 #include "engine.h"
 
-char *gface[2] = {"☹", "☺"}; /* glenda's face(es) */
+char *gface[2] = {"☺", "☹"}; /* glenda's face(es) */
 int debug = 0;
 
 void
@@ -168,6 +168,8 @@
 			break;
 		case 'q':
 			exits(nil);
+			break;
+		case '\0':
 			break;
 		default:
 			fprintf(stderr, "proc(): huh?\n");