feat: improve key detection (#2496)

* feat: improve key detection

* docs: update `CHANGELOG.md`

* docs: update documentation
This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-04-08 01:36:33 +02:00
1 parent 88e97d1f35
commit 779bffb3dc
5 files changed
+15 -10

No files matched your search

+6 -5
View File
@@ -1772,11 +1772,12 @@ no aliases), so some familiar forms will not work:
map <m-up> down # not <ScrollWheelUp>
WARNING: Some key combinations will likely be intercepted by your OS,
window manager, or terminal. Other key combinations cannot be recognized
by lf due to the way terminals work (e.g. Ctrl+h combination sends a
backspace key instead). The easiest way to find out the name of a key
combination and whether it will work on your system is to press the key
while lf is running and read the name from the unknown mapping error.
window manager, or terminal. Other key combinations may not be
distinguishable by lf, depending on how the terminal reports them (e.g.
Ctrl+h may be reported as backspace instead). The easiest way to find
out the name of a key combination and whether it will work on your
system is to press the key while lf is running and read the name from
the unknown mapping error.
Mouse buttons are prefixed with an m character: