aboutsummaryrefslogtreecommitdiff
path: root/lib/keyboard
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-05-18 23:45:03 -0400
committerRuss Cox <rsc@swtch.com>2020-05-18 23:45:03 -0400
commitd25d0ca1a3682d97df67f62789767562aa5bf1b3 (patch)
tree95e736b3189ffd5dbb74fb74c41eb8ac450de8f5 /lib/keyboard
parentb4cc38f94321c71e8d19fbbd4691e72f7c0d817b (diff)
downloadplan9port-d25d0ca1a3682d97df67f62789767562aa5bf1b3.tar.gz
plan9port-d25d0ca1a3682d97df67f62789767562aa5bf1b3.tar.bz2
plan9port-d25d0ca1a3682d97df67f62789767562aa5bf1b3.zip
devdraw, libdraw: handle keyboard runes > U+FFFF
Runes in Plan 9 were limited to the 16-bit BMP when I drew up the RPC protocol between graphical programs and devdraw a long time ago. Now that they can be 32-bit, use a 32-bit wire encoding too. A new message number to avoid problems with other clients (like 9fans.net/go). Add keyboard shortcut alt : , for U+1F602, face with tears of joy, to test that it all works.
Diffstat (limited to 'lib/keyboard')
-rw-r--r--lib/keyboard1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/keyboard b/lib/keyboard
index a1574a36..1a0e85a5 100644
--- a/lib/keyboard
+++ b/lib/keyboard
@@ -584,3 +584,4 @@
F015 ZA  raw alt (plan 9 specific)
F016 ZS  raw shift (plan 9 specific)
F017 ZC  raw ctl (plan 9 specific)
+1F602 :, 😂 face with tears of joy