jarun / nnn

n³ The unorthodox terminal file manager
BSD 2-Clause "Simplified" License
19.1k stars 760 forks source link

Respect keys regardless of kb language input #1862

Closed siyia2 closed 6 months ago

siyia2 commented 6 months ago

Environment details (Put x in the checkbox along with the information)

Exact steps to reproduce the issue

  1. Change kb input language to your native language, in my case Greek.
  2. Try any hotkey like x for delete.
  3. Observe how it fails.
0xACE commented 6 months ago

The program lives in a terminal, it only parses the characters that gets sent to it... recompile nnn with greek kb in mind if that is necessary for you.

siyia2 commented 6 months ago

can't it be made to work based on universal keycodes instead of key characters?

KlzXS commented 6 months ago

It can and it is. You just have to tell it which ones you want and your terminal has to actually pass those through to the program.

We don't have the magic know-how to support "user pressed this key on the keyboard." We just know what the software registered.

siyia2 commented 6 months ago

ok i ll check it out.