mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
terminfo: add kxIN + kxOUT (focus in/out events)
These capabilities are not included in the standard ‘xterm’ or ‘xterm-256color’ terminfos. They’re used in ‘xterm+focus’ -> ‘xterm+sm+1002’ -> ‘xterm-1002|xterm+sm+1003’ -> ‘xterm-1003’ (https://invisible-island.net/ncurses/terminfo.ti.html#tic-xterm_focus) However, as far as I can tell, ncurses doesn’t use these capabilities at all.
This commit is contained in:
parent
c93eb45b42
commit
bb02b319d0
2 changed files with 3 additions and 1 deletions
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
* Support for adjusting the thickness of regular underlines ([#1136][1136]).
|
* Support for adjusting the thickness of regular underlines ([#1136][1136]).
|
||||||
* Support (optional) for utmp logging with libutempter.
|
* Support (optional) for utmp logging with libutempter.
|
||||||
|
* `kxIN` and `kxOUT` (focus in/out events) to terminfo.
|
||||||
|
|
||||||
[1136]: https://codeberg.org/dnkl/foot/issues/1136
|
[1136]: https://codeberg.org/dnkl/foot/issues/1136
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -218,6 +218,8 @@
|
||||||
knp=\E[6~,
|
knp=\E[6~,
|
||||||
kpp=\E[5~,
|
kpp=\E[5~,
|
||||||
kri=\E[1;2A,
|
kri=\E[1;2A,
|
||||||
|
kxIN=\E[I,
|
||||||
|
kxOUT=\E[O,
|
||||||
oc=\E]104\E\\,
|
oc=\E]104\E\\,
|
||||||
op=\E[39;49m,
|
op=\E[39;49m,
|
||||||
rc=\E8,
|
rc=\E8,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue