Closed allestaire closed 1 year ago
I guess this are the only accepted commands on alt - option (M)
This was run by mle -Qk
Got a solution to the problem,
Seems like shifts are not totally supported
Hello, I don't have mac to test with at the moment, however I know the default settings on the macOS Terminal app do not emit all the usual escape codes. You already found one fix ("Use Option as Meta key"). For modified directional keys, you might try adding mappings for the following:
https://github.com/adsr/mle/blob/6f514a4e55d4d7ac3bce901bd188d1047e8f48e2/termbox2.h#L994-L1025
(Note "\x1b" is the hex equivalent of octal "\033". You may need to use the octal form for it to work.)
Hello, I don't have mac to test with at the moment, however I know the default settings on the macOS Terminal app do not emit all the usual escape codes. You already found one fix ("Use Option as Meta key"). For modified directional keys, you might try adding mappings for the following:
https://github.com/adsr/mle/blob/6f514a4e55d4d7ac3bce901bd188d1047e8f48e2/termbox2.h#L994-L1025
(Note "\x1b" is the hex equivalent of octal "\033". You may need to use the octal form for it to work.)
Thanks for your response!! this helps me to test 😄
Tried to use this awesome tool for texteditor but seems like Alt key wont response on Mac OS
https://github.com/adsr/mle/assets/68372409/259e5591-870a-4e7d-920e-a42c57a6ecbe
mle version 1.7.2