mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-28 06:46:38 -04:00
Implement output text binding
This commit is contained in:
parent
b81b98d47c
commit
e06cdb3d4d
4 changed files with 22 additions and 1 deletions
|
|
@ -986,6 +986,10 @@ specify a character:
|
|||
- Bytes (e.g. ESC) are written as two-digit hexadecimal numbers, with
|
||||
a *\\x* prefix: *\\x1b*.
|
||||
|
||||
If the text starts with the special escape sequence *\\o* then the text is not
|
||||
sent to the slave process input, but is processed by the terminal as if it was
|
||||
sent by the slave process.
|
||||
|
||||
Example: you would like to remap _Super+k_ to the _Up_ key.
|
||||
|
||||
The escape sequence for the Up key is _ESC [ A_ (without the
|
||||
|
|
@ -998,6 +1002,10 @@ Another example: to remap _Super+c_ to _Control+c_:
|
|||
|
||||
*\\x03 = Mod4+c*
|
||||
|
||||
Other example: you want to clear the terminal on _Ctrl+Shift+l_
|
||||
|
||||
*\o\x1bc = Control+Shift+l*
|
||||
|
||||
# SECTION: mouse-bindings
|
||||
|
||||
This section lets you override the default mouse bindings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue