xterm should be able to use at least 16 colors
This commit is contained in:
parent
75b452bf52
commit
b9cc271765
|
@ -1,3 +1,6 @@
|
||||||
|
2016-11-03 Markus Gans <guru.mail@muenster.de>
|
||||||
|
* xterm should be able to use at least 16 colors
|
||||||
|
|
||||||
2016-11-01 Markus Gans <guru.mail@muenster.de>
|
2016-11-01 Markus Gans <guru.mail@muenster.de>
|
||||||
* The class declaration now has a consistent order
|
* The class declaration now has a consistent order
|
||||||
|
|
||||||
|
|
|
@ -1462,7 +1462,15 @@ void FDialog::cb_move (FWidget*, void*)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
setMoveSizeWidget(this);
|
setMoveSizeWidget(this);
|
||||||
|
|
||||||
|
if ( isMonochron() )
|
||||||
|
setReverse(true);
|
||||||
|
|
||||||
drawBorder();
|
drawBorder();
|
||||||
|
|
||||||
|
if ( isMonochron() )
|
||||||
|
setReverse(false);
|
||||||
|
|
||||||
save_geometry = getGeometry();
|
save_geometry = getGeometry();
|
||||||
tooltip = new FToolTip(this);
|
tooltip = new FToolTip(this);
|
||||||
|
|
||||||
|
|
|
@ -2963,7 +2963,13 @@ void FTerm::init()
|
||||||
// Test if the terminal is a xterm
|
// Test if the terminal is a xterm
|
||||||
if ( std::strncmp(termtype, const_cast<char*>("xterm"), 5) == 0
|
if ( std::strncmp(termtype, const_cast<char*>("xterm"), 5) == 0
|
||||||
|| std::strncmp(termtype, const_cast<char*>("Eterm"), 4) == 0 )
|
|| std::strncmp(termtype, const_cast<char*>("Eterm"), 4) == 0 )
|
||||||
|
{
|
||||||
xterm_terminal = true;
|
xterm_terminal = true;
|
||||||
|
|
||||||
|
// Each xterm should be able to use at least 16 colors
|
||||||
|
if ( ! new_termtype && std::strlen(termtype) == 5 )
|
||||||
|
new_termtype = const_cast<char*>("xterm-16color");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
xterm_terminal = false;
|
xterm_terminal = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue