Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate u[6789] with terminfo.py #3193

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

bawr
Copy link
Contributor

@bawr bawr commented Dec 28, 2020

Should not hurt anything, it's just documenting kitty's existing VT220 compatibility.

I had some third-party bash scripts fail, since they were using
echo -ne "$(tput u7)"
vs a direct
echo -ne '\e[6n'
¯\_(ツ)_/¯

I got the terminfo strings from:

$ infocmp -q1 xterm | grep -oP '(?<=\t)u[0-9]=.+'
u6=\E[%i%d;%dR,
u7=\E[6n,
u8=\E[?%[;0123456789]c,
u9=\E[c,

Should not hurt anything, it's just documenting kitty's existing VT220 compatibility.
@kovidgoyal kovidgoyal merged commit 7155400 into kovidgoyal:master Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants