simon-git: puzzles (main): Ben Harris
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Thu Feb 23 23:17:56 GMT 2023
TL;DR:
9dbcfa7 More cleverness in midend_process_key()
Repository: https://git.tartarus.org/simon/puzzles.git
On the web: https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer: Ben Harris <bjh21 at bjh21.me.uk>
Date: 2023-02-23 23:17:56
commit 9dbcfa765ba59a8201425df18bec09c7bc334c5e
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=9dbcfa765ba59a8201425df18bec09c7bc334c5e;hp=015bd1447472f82a5607ecb5fabaf25bf37cd4e2
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Thu Feb 23 22:32:53 2023 +0000
More cleverness in midend_process_key()
It now strips off modifier flags from keys that shouldn't have them and
maps printable characters with MOD_CTRL to the corresponding control
characters. It also catches Ctrl+Shift+Z because that obviously belongs
in the midend.
I've updated the JavaScript front-end to take advantage of these
changes. Other front ends are unchanged and should work just as they
did before.
devel.but | 10 ++++++++--
emcc.c | 16 +++-------------
midend.c | 16 ++++++++++++++++
3 files changed, 27 insertions(+), 15 deletions(-)
More information about the tartarus-commits
mailing list