mirror of
https://github.com/tmux/tmux.git
synced 2026-02-14 10:09:16 +00:00
Remove redundant call to tty_attributes, from Conor Taylor in GitHub
issue 4848.
This commit is contained in:
1
tty.c
1
tty.c
@@ -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 it is a single character, write with putc to handle ACS. */
|
||||||
if (gcp->data.size == 1) {
|
if (gcp->data.size == 1) {
|
||||||
tty_attributes(tty, gcp, defaults, palette, hl);
|
|
||||||
if (*gcp->data.data < 0x20 || *gcp->data.data == 0x7f)
|
if (*gcp->data.data < 0x20 || *gcp->data.data == 0x7f)
|
||||||
return;
|
return;
|
||||||
tty_putc(tty, *gcp->data.data);
|
tty_putc(tty, *gcp->data.data);
|
||||||
|
|||||||
Reference in New Issue
Block a user