Fix resetColorMap in FTerm
This commit is contained in:
parent
3a8689561a
commit
808434313c
|
@ -1,3 +1,6 @@
|
|||
2017-05-03 Markus Gans <guru.mail@muenster.de>
|
||||
* Fix resetColorMap in FTerm
|
||||
|
||||
2017-05-02 Markus Gans <guru.mail@muenster.de>
|
||||
* Outsourcing of data from FTerm to the classes FTermios,
|
||||
FTermDetection and FTermcapQuirks
|
||||
|
|
|
@ -1124,12 +1124,10 @@ void FTerm::saveColorMap()
|
|||
//----------------------------------------------------------------------
|
||||
void FTerm::resetColorMap()
|
||||
{
|
||||
char*& op = TCAP(fc::t_orig_pair);
|
||||
char*& oc = TCAP(fc::t_orig_colors);
|
||||
char*& op = TCAP(fc::t_orig_pair);
|
||||
|
||||
if ( op )
|
||||
putstring (op);
|
||||
else if ( oc )
|
||||
if ( oc )
|
||||
putstring (oc);
|
||||
/*else
|
||||
{
|
||||
|
@ -1153,6 +1151,9 @@ void FTerm::resetColorMap()
|
|||
ioctl (0, PIO_CMAP, &color_map);
|
||||
}*/
|
||||
|
||||
if ( op )
|
||||
putstring (op);
|
||||
|
||||
std::fflush(stdout);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue