ref: 61bd27d3684d1f03cfd3e9c966b1ccff8a53a71b
parent: 2981b0bf46bae9a4bfab4463c97aadd51551f00e
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Feb 12 06:30:30 EST 2020
plan9: add >, < and esc handling
--- a/plan9.c
+++ b/plan9.c
@@ -332,8 +332,19 @@
case '+':
h += gridh;
break;
+ case '>':
+ bpm++;
+ break;
+ case '<':
+ bpm = MAX(1, bpm-1);
+ break;
case Kins:
insert = !insert;
+ break;
+ case Kesc:
+ if (!insert)
+ insert = 1;
+ /* FIXME else remove selection */
break;
default:
if (key == Kdel)