Merge pull request #3524 from urbit/m/unassume-klr

term: don't print styles in non-interactive mode
This commit is contained in:
fang 2020-10-05 16:13:20 +02:00 committed by GitHub
commit ba0192f9f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}