octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help needed to fix QTerminal problem


From: Michael Goffioul
Subject: Re: Help needed to fix QTerminal problem
Date: Mon, 8 Apr 2013 17:14:38 -0400

On Mon, Apr 8, 2013 at 4:10 PM, John W. Eaton <address@hidden> wrote:
On 04/08/2013 03:09 PM, John W. Eaton wrote:
On 04/08/2013 02:53 PM, Michael Goffioul wrote:

Did you try to invert the colors
in libgui/qterminal/libqterminal/win32/QTerminalColors.cpp instead?

No, I'll try that. But even before my changes, the background color
appeared to be set unconditionally to Qt::Black:

http://hg.savannah.gnu.org/hgweb/octave/rev/eeedbc7c0740

Is there a way to ask for the background color from the hidden terminal?
Or should I just set it to white unconditionally?

With the attached changes from your original code, I get a white
background and the reverse video that is used by things like the less
status message is correct.  But instead of black for the font, I'm
seeing gray.  I guess that's because the hidden terminal is using gray
as the foreground color, not white.  What's the best way to change
that?

I guess that the terminal is using color at index 7 for the text foreground. Try to set that one to black. But more generally, the change should involve all colors: that is blue becomes darkBlue and vice versa, and so on...

Michael.


reply via email to

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