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

+4 -4
View File
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 3.7.0.2
.\"
.TH "LF" "1" "2026\-03\-21" "r42" "DOCUMENTATION"
.TH "LF" "1" "2026\-04\-08" "r42" "DOCUMENTATION"
.SH NAME
lf \- terminal file manager
.SH SYNOPSIS
@@ -1615,9 +1615,9 @@ map <m\-up> down # not <ScrollWheelUp>
.PP
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.
\f[CR]Ctrl+h\f[R] combination sends a backspace key instead).
Other key combinations may not be distinguishable by lf, depending on
how the terminal reports them (e.g.
\f[CR]Ctrl+h\f[R] may be reported as \f[CR]backspace\f[R] 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 \f[CR]unknown mapping\f[R] error.