Remove redundant call to tty_attributes, from Conor Taylor in GitHub

issue 4848.
This commit is contained in:
nicm
2026-02-10 08:34:43 +00:00
parent d8794e2b30
commit aa03706ed0

1
tty.c
View File

@@ -2064,7 +2064,6 @@ tty_cell(struct tty *tty, const struct grid_cell *gc,
/* If it is a single character, write with putc to handle ACS. */
if (gcp->data.size == 1) {
tty_attributes(tty, gcp, defaults, palette, hl);
if (*gcp->data.data < 0x20 || *gcp->data.data == 0x7f)
return;
tty_putc(tty, *gcp->data.data);