ref: c7d5348ddbb3bdb6358c153795bb4c0e18af1375
parent: 6007fd6a5b76b5e0ff6679add328b7e4768b04d9
author: qwx <[email protected]>
date: Wed Nov 30 00:51:31 EST 2022
recognize 'q' as a command as well
--- a/cmd.c
+++ b/cmd.c
@@ -660,6 +660,7 @@
case 'd': return cut(s);
case 'm': return forcemerge(s);
case 'p': return paste(s, nil);
+ case 'q': threadexitsall(nil);
case 'r': return readfrom(s);
case 'w': return writeto(s);
case 'x': return crop(s);