sys/kbio.h: support Unicode key codes in vt keymap files
Some keyboard definitions return Unicode characters that cannot be represented in the 8 bits provided by an u_char. Extend then width of the keycode entries to 16 bits to allow for all keycodes currently defined in share/vt/keymaps/*,kbd. Reported by: yuri@aetern.org MFC after: 3 days
This commit is contained in:
parent
c0a4a7bb94
commit
1e0853ee84
@ -200,7 +200,7 @@ typedef struct okeymap okeymap_t;
|
||||
|
||||
struct acc_t {
|
||||
u_char accchar;
|
||||
u_char map[NUM_ACCENTCHARS][2];
|
||||
u_short map[NUM_ACCENTCHARS][2];
|
||||
};
|
||||
|
||||
struct accentmap {
|
||||
|
Loading…
Reference in New Issue
Block a user