aboutsummaryrefslogtreecommitdiff
path: root/setupx.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-01-05 01:02:12 -0500
committerB. Watson <urchlay@slackware.uk>2024-01-05 01:02:12 -0500
commit9c82407421474993b8c18c84866bda3a607f59cb (patch)
tree09e53445fc8d87c58eb2c4d03d45b853049d845c /setupx.c
parent9d15984ebb9dab26de18a5ed633f23ad869af48f (diff)
downloadhcalc-9c82407421474993b8c18c84866bda3a607f59cb.tar.gz
Make shift-insert paste (like ^V).
Diffstat (limited to 'setupx.c')
-rw-r--r--setupx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/setupx.c b/setupx.c
index f905776..34f0682 100644
--- a/setupx.c
+++ b/setupx.c
@@ -138,6 +138,10 @@ process_input()
case XK_F4:
key('B');
break;
+ case XK_Insert:
+ if(event.xkey.state & ShiftMask)
+ paste();
+ break;
}
}
break;