slang-users mailing list

[2015 Date Index] [2015 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] Fwd: True Color (24 bit color) escape sequences support


> I think the above should be inside a:
>  #if defined(REAL_UNIX_SYSTEM) && defined(HAVE_LONG_LONG)
will do.

mintty (cygwin, msys/msys2) for Windows now has support for the TrueColor.
Best regards,
Anton Kochkov.


On Fri, Aug 21, 2015 at 10:49 PM, Gisle Vanem <gvanem@xxxxxxxx> wrote:
> Антон Кочков wrote:
>
>> diff -ur slang-pre2.3.0-110.orig/src/slang.h
>> slang-pre2.3.0-110/src/slang.h
>> --- slang-pre2.3.0-110.orig/src/slang.h 2013-12-26 10:42:03.000000000
>> +0100
>> +++ slang-pre2.3.0-110/src/slang.h      2014-01-16 00:45:11.001003762
>> +0100
>> @@ -1652,14 +1652,14 @@
>>   SL_EXTERN unsigned long SLtt_Num_Chars_Output;
>>   SL_EXTERN int SLtt_Baud_Rate;
>>
>> -typedef unsigned long SLtt_Char_Type;
>> +typedef unsigned long long SLtt_Char_Type;
>>
>> -#define SLTT_BOLD_MASK 0x01000000UL
>> -#define SLTT_BLINK_MASK        0x02000000UL
>> -#define SLTT_ULINE_MASK        0x04000000UL
>> -#define SLTT_REV_MASK  0x08000000UL
>> -#define SLTT_ALTC_MASK  0x10000000UL
>> -#define SLTT_ITALIC_MASK  0x20000000UL
>> +#define SLTT_BOLD_MASK   0x0000000001000000ULL
>> +#define SLTT_BLINK_MASK  0x0000000002000000ULL
>> +#define SLTT_ULINE_MASK  0x0000000004000000ULL
>
>
> I think the above should be inside a:
>   #if defined(REAL_UNIX_SYSTEM) && defined(HAVE_LONG_LONG)
>
> Not all S-Lang supported targets have 'long long'.
>
> And since you don't mention Windows in your email and I
> don't think TrueColour is possible here. So that pretty
> much leaves excludes everything but a 'REAL_UNIX_SYSTEM'.
> No?
>
> Except maybe ConEmu do support TrueColours:
>   http://conemu.github.io/
>   http://conemu.github.io/en/Screenshots.html
>
> Haven't tried it lately.
>
> --
> --gv
> _______________________________________________
> For list information, visit <http://jedsoft.org/slang/mailinglists.html>.
>
_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.


[2015 date index] [2015 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]