[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Add Sync capability to Alacritty terminfo
From: |
Christian Dürr |
Subject: |
[PATCH] Add Sync capability to Alacritty terminfo |
Date: |
Wed, 19 May 2021 08:42:15 +0000 |
User-agent: |
Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416 |
In version 0.8.0 Alacritty added support for synchronized terminal
updates as documented here:
https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2
The proposal itself does not specify any detection for this feature,
since it was not expected that detection was necessary. However the tmux
implementation introduced the `Sync` capability to remedy this.
While I am unsure about the adoption of this capability, it is currently
part of the Alacritty terminfo and necessary to make synchronized
updates work in tmux. So I think it's appropriate to add this to the
ncurses definition despite no other terminal offering this capability.
---
misc/terminfo.src | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/misc/terminfo.src b/misc/terminfo.src
index 7bcbed50..24eeea5c 100644
--- a/misc/terminfo.src
+++ b/misc/terminfo.src
@@ -7250,6 +7250,7 @@ terminology|EFL-based terminal emulator,
#### Alacritty
# https://github.com/jwilm/alacritty
+# Version 0.8.0 (2021/05/19)
# Version 0.6.0 (2020/11/25)
# Version 0.4.0 (2019/11/25)
# Version 0.3.3 (2019/08/03)
@@ -7310,11 +7311,11 @@ alacritty-direct|alacritty with direct color indexing,
alacritty+common|base fragment for alacritty,
km@, npc,
kb2=\EOE, kbs=^?, kcbt=\E[Z, kent=\EOM, Se=\E[0 q,
- Smulx=\E[4:%p1%dm, use=ecma+index, use=xterm+sm+1006,
- use=xterm-basic, use=xterm+app, use=ansi+rep,
- use=xterm+tmux, use=ecma+strikeout, use=xterm+sl-twm,
- use=ecma+italics, use=xterm+pce2, use=xterm+pcc2,
- use=xterm+pcf2,
+ Smulx=\E[4:%p1%dm, Sync=\EP=%p1%ds\E\\, use=ecma+index,
+ use=xterm+sm+1006, use=xterm-basic, use=xterm+app,
+ use=ansi+rep, use=xterm+tmux, use=ecma+strikeout,
+ use=xterm+sl-twm, use=ecma+italics, use=xterm+pce2,
+ use=xterm+pcc2, use=xterm+pcf2,
#### Kitty
# https://github.com/kovidgoyal/kitty
--
2.31.1
- [PATCH] Add Sync capability to Alacritty terminfo,
Christian Dürr <=