term: don't print styles in non-interactive mode

This commit is contained in:
Fang 2020-09-19 00:41:06 +02:00
parent 9bd04f2075
commit d6c14eea35
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -1198,7 +1198,8 @@ _term_it_show_stub(u3_utty* uty_u,
u3x_trel(tyl, &dec, &bag, &fog);
c3_o tyl_o = c3n;
if ( (u3_nul != dec) || (u3_nul != bag) || (u3_nul != fog) ) {
if ( ( c3n == u3_Host.ops_u.tem ) &&
( (u3_nul != dec) || (u3_nul != bag) || (u3_nul != fog) ) ) {
tyl_o = c3y;
}