Re: [dev] [dvtm] Truecolor support

From: Paride Legovini <pl_AT_ninthfloor.org>
Date: Mon, 27 Oct 2014 21:24:13 +0800

On 2014-10-27 21:11, k0ga_AT_shike2.com wrote:
> Hi,
>
>> Apparently curses provides:
>>
>> int init_color(short color, short r, short g, short b);
>>
>> not quite sure what it does internally.
>
> There is no support for true color in terminfo, so curses cannot
> handle it. If your application need it the only way is to print
> directly the sequences, and the only way to detect if the terminal
> has this capability is to check TERM against a list of terminals
> that suppor it.

A simpler possibility is to let it enabled by default and let the user
switch it off with a command line argument (like it's done for the mouse
grabbing). I think it would make sense as all major terminal emulators
support true color.

Paride
Received on Mon Oct 27 2014 - 14:24:13 CET

This archive was generated by hypermail 2.3.0 : Mon Oct 27 2014 - 14:36:08 CET