bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using ncurses only for terminfo (no I/O)


From: Thomas Dickey
Subject: Re: Using ncurses only for terminfo (no I/O)
Date: Mon, 18 Jan 2021 20:19:38 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Mon, Jan 18, 2021 at 05:57:48PM -0000, Grant Edwards wrote:
> On 2021-01-18, Nicholas Marriott <nicholas.marriott@gmail.com> wrote:
> 
> > tmux has been stripping padding from the result of tiget*() and writing
> > it itself for 10 years now and I have had no problems reported
> > whatsoever.
> 
> That's what my code currently does. One thing I'm wondering about is
> what happens when a terminal control sequence contains a string like
> $<5> that looks like a delay specification? Is that escaped somehow in
> the database and then unescaped by putp() or tputs() when the padding
> is added?

no - it's stored literally as you see it.

https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00087.html

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]