[Top][All Lists]

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

Re: xterm/gnome-terminal rectangular area sequences

From: Thomas Dickey
Subject: Re: xterm/gnome-terminal rectangular area sequences
Date: Tue, 10 Jul 2012 05:19:07 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Jul 10, 2012 at 01:36:38AM -0700, xetum wrote:
> Thanks Thomas for your promptly response. Just a last question.
> If rectangle operations aren't widely available, how come does ncurses
> implement e.g. attron?

attron's been in ncurses since the 1990s because it is part of X/Open curses.
ncurses implements this without using rectangle mode.

> The only solution I can think of is to have a backup buffer for the console,
> change attributes for the rectangle of interest leaving characters untouched
> and then reprinting chars+attrs to the console. Am I right?

ncurses does this by storing current and pending screen contents in
buffers (called WINDOW's).

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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