Mercurial > octave
changeset 28978:1152256be2cf stable
Swap light and dark colors for Windows GUI terminal (bug #57658).
* libgui/qterminal/libqterminal/win32/QTerminalColors.cpp
(QConsoleColors::QConsoleColors): Swap light and dark colors for better
contrast with the white background color in the command window.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 21 Feb 2020 18:28:07 +0100 |
parents | a00eca5d6cbe |
children | c6f81afdcd28 a745a046b705 |
files | libgui/qterminal/libqterminal/win32/QTerminalColors.cpp |
diffstat | 1 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/qterminal/libqterminal/win32/QTerminalColors.cpp Wed Oct 21 14:45:40 2020 -0400 +++ b/libgui/qterminal/libqterminal/win32/QTerminalColors.cpp Fri Feb 21 18:28:07 2020 +0100 @@ -31,19 +31,19 @@ : QMap<int, QColor> () { (*this)[0] = Qt::white; - (*this)[1] = Qt::darkBlue; - (*this)[2] = Qt::darkGreen; - (*this)[3] = Qt::darkCyan; - (*this)[4] = Qt::darkRed; - (*this)[5] = Qt::darkMagenta; - (*this)[6] = Qt::darkYellow; + (*this)[1] = Qt::blue; + (*this)[2] = Qt::green; + (*this)[3] = Qt::cyan; + (*this)[4] = Qt::red; + (*this)[5] = Qt::magenta; + (*this)[6] = Qt::yellow; (*this)[7] = Qt::black; - (*this)[8] = Qt::darkGray; - (*this)[9] = Qt::blue; - (*this)[10] = Qt::green; - (*this)[11] = Qt::cyan; - (*this)[12] = Qt::red; - (*this)[13] = Qt::magenta; - (*this)[14] = Qt::yellow; - (*this)[15] = Qt::lightGray; + (*this)[8] = Qt::lightGray; + (*this)[9] = Qt::darkBlue; + (*this)[10] = Qt::darkGreen; + (*this)[11] = Qt::darkCyan; + (*this)[12] = Qt::darkRed; + (*this)[13] = Qt::darkMagenta; + (*this)[14] = Qt::darkYellow; + (*this)[15] = Qt::darkGray; }