Fix missing eat_newline_glitch (xn) in TeraTerm

This commit is contained in:
Markus Gans 2015-12-21 01:10:32 +01:00
parent 27d8b515f1
commit a1b7e34d7d
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
* Add raiseWindow() to FMenuBar::leaveMenuBar()
* Fix allocation of null strings with the FString = operator
* Fix for non printable characters in Cygwin and TeraTerm
* Fix missing eat_newline_glitch (xn) in TeraTerm
2015-12-19 Markus Gans <guru.mail@muenster.de>
* Add delOwnTimer() for FObject

View File

@ -1008,8 +1008,12 @@ void FTerm::init_termcaps()
// newline ignored after 80 cols
eat_nl_glitch = tgetflag(const_cast<char*>("xn"));
if ( isTeraTerm() )
eat_nl_glitch = true;
// maximum number of colors on screen
max_color = tgetnum(const_cast<char*>("Co"));
if ( max_color < 8 )
monochron = true;
else