simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Mar 5 16:45:21 GMT 2023


TL;DR:
  0156900 Further restrict the keys that can have MOD_NUM_KEYPAD

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-03-05 16:45:21

commit 01569005e325fc85e4a23fc050b7406789730444
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=01569005e325fc85e4a23fc050b7406789730444;hp=fe40cda75a9665f7b464fa9909de0a7f62613817
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Sun Mar 5 16:35:41 2023 +0000

    Further restrict the keys that can have MOD_NUM_KEYPAD
    
    In all front ends other than JavaScript, and in JavaScript prior to my
    recent changes, MOD_NUM_KEYPAD can only be set on ASCII digits.  For
    now, enforce this in midend_process_key() so as to avoid inconsistency
    between front ends.  It might be useful to be able to distinguish
    keypad versions of more keys, but that should be co-ordinated across
    the code-base.

 midend.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list