On Sat, Jan 31, 2026 at 10:06:01AM -0800, Jared Finder wrote:
> On 2026-01-30 14:24, Thomas Dickey wrote:
> > On Fri, Jan 30, 2026 at 05:46:57PM +0000, Robin Haberkorn via Bug
> > reports for ncurses, the GNU implementation of curses wrote:
> > > btw. Some terminals nowadays have squiggles and strike-through
> > > as well. I always wondered why this didn't make it right through
> > > to ncurses.
> > 
> > a few do, but look at the allocated bits (adding stuff would be an ABI
> > change)
> 
> If controlling the underline style and color was widely desired, couldn't
> the extra parameter to color_set be used? That would also require the curses
> library to maintain extra state of the current underline style and color for
> attron to look at and emit the correct escape sequence.

It's a little late for that (several years, in fact).

See the manpage section on extensions, which makes that a pointer to 'int',
for getting extended color pairs (past 32767).

(changing that would be an ABI change...)

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to