Closed cosminadrianpopescu closed 1 year ago
Looks like the code in question is here https://github.com/arakiken/mlterm/blob/master/uitoolkit/fb/ui_display_linux.c#L764 and it only checks the keycode for the purpose of setting modifiers, not how it is translated in kcode_to_ksym https://github.com/arakiken/mlterm/blob/master/uitoolkit/fb/ui_display_linux.c#L133
There is a patch but I did not get to testing it, YMMV
I'll test the patch and let you know. Thank you.
I guess it does not work for me because I have more than two input devices that look like a keyboard, and the one I am typing on appears late in the list, duh.
When remapping caps lock to control with a script like this:
(dumpkeys | grep keymaps; echo "keycode 58 = Control") | loadkeys
when using
mlterm-fb
in tty will still do caps lock instead of control. Under X, running justmltert
will correctly insert actrl
and not acaps
. Also the tty in which I'm starting themlterm-fb
is going to correctly interpret actrl
instead of acaps