diff --git a/ChangeLog b/ChangeLog index fbd54837..2e3f7d91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -2017-11-07 Markus Gans +2017-11-08 Markus Gans * Simulate invisible characters on terminals that do not support this attribute diff --git a/src/foptiattr.cpp b/src/foptiattr.cpp index 98a95dec..7486397d 100644 --- a/src/foptiattr.cpp +++ b/src/foptiattr.cpp @@ -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