[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: terminfo entry for wezterm doesn't match upstream
From: |
Thomas Dickey |
Subject: |
Re: terminfo entry for wezterm doesn't match upstream |
Date: |
Fri, 26 Jul 2024 14:58:31 -0400 |
On Fri, Jul 26, 2024 at 02:35:05AM -0600, Thayne McCombs wrote:
> $ infocmp -d -A /usr/share/terminfo -B ~/.terminfo wezterm
> > comparing wezterm to wezterm.
> > comparing booleans.
> > hs: F:T.
> > km: F:T.
> > xenl: F:T.
> > comparing numbers.
> > pairs: 65536, 32767.
> > comparing strings.
> > cvvis: NULL, '\E[?12;25h'.
> > dsl: NULL, '\E]2;\E\\'.
> > fsl: NULL, '\E\\'.
> > ka1: '\EOw', NULL.
> > ka3: '\EOy', NULL.
> > kb2: '\EOu', '\EOE'.
> > kbeg: '\EOE', NULL.
> > kc1: '\EOq', NULL.
> > kc3: '\EOs', NULL.
> > mgc: '\E[?69l', NULL.
> > nel: '\EE', NULL.
> > rmkx: '\E[?1l', '\E[?1l\E>'.
> > rmm: NULL, '\E[?1034l'.
> > smglp: '\E[?69h\E[%i%p1%ds', NULL.
> > smglr: '\E[?69h\E[%i%p1%d;%p2%ds', NULL.
> > smgrp: '\E[?69h\E[%i;%p1%ds', NULL.
> > smkx: '\E[?1h', '\E[?1h\E='.
> > smm: NULL, '\E[?1034h'.
> > tsl: NULL, '\E]0;'..
> >
>
> I'm not sure about the significance of the other fields that differ, but by
> doing a bisect on the diffs, I discovered that the difference that causes
> the scrolling bug with neovim windows is caused by the `smglp` and `smgrp`.
>
> So I suspect it should include `smglp@, smgrp@`?
no - the entire feature for left/right margins should be removed until
there's a widely-used stable version of wezterm which fully supports
the feature, so that end users won't be affected.
> It also looks like the upstream wezterm.terminfo uses several "user defined"
> capabilities. I'm not sure what ncurses policy is on using those, or what,
> if anything, consumes those.
it's in the FAQ
https://invisible-island.net/ncurses/ncurses.faq.html#dbupdate
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature