Follow-up Comment #5, bug #20251 (project wesnoth):

Attached is a diff showing a fix for this problem.

Control characters are in the range 0-31, but any character < 64 was getting
the full remap treatment.

By changing isprint to isalnum, the display of ctrl+3 and other numbers now
works as expected.

Setting character to -1 when isalnum is false fixes the space key, and makes
all the other non-character keys to be processed in the same way.

There is still an issue with the '=' key.  This problem exists regardless of
whether ctrl or alt are used.  The reason for this problem is that '=' is
COLUMN_SEPARATOR, and does not display correctly.

(file #16722)
    _______________________________________________________

Additional Item Attachment:

File name: hotkeys.diff                   Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20251>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to