Simulate invisible characters on terminals that do not support this attribute
This commit is contained in:
parent
ed73858196
commit
c9b346f419
|
@ -1,4 +1,4 @@
|
|||
2017-11-07 Markus Gans <guru.mail@muenster.de>
|
||||
2017-11-08 Markus Gans <guru.mail@muenster.de>
|
||||
* Simulate invisible characters on terminals that do not
|
||||
support this attribute
|
||||
|
||||
|
|
|
@ -535,14 +535,14 @@ char* FOptiAttr::changeAttribute (char_data*& term, char_data*& next)
|
|||
detectSwitchOn (term, next);
|
||||
detectSwitchOff (term, next);
|
||||
|
||||
// look for no changes
|
||||
if ( ! ( switchOn() || switchOff() || colorChange(term, next) ) )
|
||||
return 0;
|
||||
|
||||
// Simulate invisible characters
|
||||
if ( ! F_enter_secure_mode.cap && next->attr.bit.invisible )
|
||||
next->code = ' ';
|
||||
|
||||
// look for no changes
|
||||
if ( ! ( switchOn() || switchOff() || colorChange(term, next) ) )
|
||||
return 0;
|
||||
|
||||
if ( cygwin_terminal && (term->fg_color > 7 || term->bg_color > 7) )
|
||||
{
|
||||
// reset blink and bold mode from colors > 7
|
||||
|
|
Loading…
Reference in New Issue