bug-ncurses
[Top][All Lists]
Advanced

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

Re: How to interpret ansi escape code like "\033[; 1; 31mHello World\033


From: Thomas Dickey
Subject: Re: How to interpret ansi escape code like "\033[; 1; 31mHello World\033[0m"?
Date: Mon, 17 Nov 2008 06:53:50 -0500 (EST)

On Mon, 17 Nov 2008, John Daker wrote:

I'm writing a telnet client with ncurses, and I cannot handle ansi
escape code like "\033[;1;31mHello World\033[0m" read through socket
from a telnet server,

Can ncurses parse ansi escape code to color system of himself?

no - I've considered making a demo to show this, but it wouldn't be done
in the library (long explanation...)

Or is there any third party lib to do this?

I don't recall any, offhand -

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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