[Gambas-user] Colors and other Console amenities.

Benoît Minisini gambas at ...1...
Sun May 22 23:10:42 CEST 2016


Le 22/05/2016 17:57, Ru Vuott a écrit :
> Hello,
>
> I tried to combine the text, to be printed in the console, the commands (terminfo capabilities useful for prompt customization) needed to get some effects in the Terminal.
>
> I pointed out some problems.
>
> For exemple:
>
> 1) I asked other developers to do the testing, but it seems that only those, who update the Gambas version via SVN, get those results.  Why only via SVN ?

Because only the development version has an IDE with a true terminal 
emulator?

> I installed Gambas and I update it via SVN, and in fact I get the effects provided by the commands.
> A simple "blinking text" exemplum:
>
> Public Sub Main()
>
>    Print "\n\e[5m   Gambas\n"
>
> End
>
>
> 2) Some problem on color commands.
>
> With this escape sequence:
>      \e[38;5;11
> I should get foreground text color in yellow. Instead I get the background in yellow.
>
> So, with this escape sequence:  \e[48;5;11 I should get background text color. Instead I get the foreground.
>
> Why ?

Fixed in revision #7784.

Regards,

-- 
Benoît Minisini




More information about the User mailing list