Simulate invisible characters on terminals that do not support this attribute
This commit is contained in:
parent
129384d416
commit
ed73858196
|
@ -1,3 +1,7 @@
|
||||||
|
2017-11-07 Markus Gans <guru.mail@muenster.de>
|
||||||
|
* Simulate invisible characters on terminals that do not
|
||||||
|
support this attribute
|
||||||
|
|
||||||
2017-11-04 Markus Gans <guru.mail@muenster.de>
|
2017-11-04 Markus Gans <guru.mail@muenster.de>
|
||||||
* Version 0.4.0
|
* Version 0.4.0
|
||||||
* Change license from GPL v3 to LGPL v3
|
* Change license from GPL v3 to LGPL v3
|
||||||
|
|
|
@ -539,6 +539,10 @@ char* FOptiAttr::changeAttribute (char_data*& term, char_data*& next)
|
||||||
if ( ! ( switchOn() || switchOff() || colorChange(term, next) ) )
|
if ( ! ( switchOn() || switchOff() || colorChange(term, next) ) )
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
// Simulate invisible characters
|
||||||
|
if ( ! F_enter_secure_mode.cap && next->attr.bit.invisible )
|
||||||
|
next->code = ' ';
|
||||||
|
|
||||||
if ( cygwin_terminal && (term->fg_color > 7 || term->bg_color > 7) )
|
if ( cygwin_terminal && (term->fg_color > 7 || term->bg_color > 7) )
|
||||||
{
|
{
|
||||||
// reset blink and bold mode from colors > 7
|
// reset blink and bold mode from colors > 7
|
||||||
|
|
Loading…
Reference in New Issue