aboutsummaryrefslogtreecommitdiff
path: root/cmd-display-panes.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-06-30 16:37:18 +0100
committerThomas Adam <thomas@xteddy.org>2022-06-30 16:37:18 +0100
commit01c4919f5f86d7c120451ae642e722ea7d9651d7 (patch)
tree588d4883507ab85ad5e51181a548346da7c86c20 /cmd-display-panes.c
parentd8c527a5f9fc06ea15a7d04f3a54a9e49cebae62 (diff)
parentcdacc12ce305ad2f3e65e2a01328a988e3200b51 (diff)
downloadrtmux-01c4919f5f86d7c120451ae642e722ea7d9651d7.tar.gz
rtmux-01c4919f5f86d7c120451ae642e722ea7d9651d7.tar.bz2
rtmux-01c4919f5f86d7c120451ae642e722ea7d9651d7.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-display-panes.c')
-rw-r--r--cmd-display-panes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-display-panes.c b/cmd-display-panes.c
index 5773a2d0..06f6dc27 100644
--- a/cmd-display-panes.c
+++ b/cmd-display-panes.c
@@ -144,7 +144,7 @@ cmd_display_panes_draw_pane(struct screen_redraw_ctx *ctx,
llen = 0;
if (sx < len * 6 || sy < 5) {
- tty_attributes(tty, &fgc, &grid_default_cell, NULL);
+ tty_attributes(tty, &fgc, &grid_default_cell, NULL, NULL);
if (sx >= len + llen + 1) {
len += llen + 1;
tty_cursor(tty, xoff + px - len / 2, yoff + py);
@@ -161,7 +161,7 @@ cmd_display_panes_draw_pane(struct screen_redraw_ctx *ctx,
px -= len * 3;
py -= 2;
- tty_attributes(tty, &bgc, &grid_default_cell, NULL);
+ tty_attributes(tty, &bgc, &grid_default_cell, NULL, NULL);
for (ptr = buf; *ptr != '\0'; ptr++) {
if (*ptr < '0' || *ptr > '9')
continue;
@@ -179,7 +179,7 @@ cmd_display_panes_draw_pane(struct screen_redraw_ctx *ctx,
if (sy <= 6)
goto out;
- tty_attributes(tty, &fgc, &grid_default_cell, NULL);
+ tty_attributes(tty, &fgc, &grid_default_cell, NULL, NULL);
if (rlen != 0 && sx >= rlen) {
tty_cursor(tty, xoff + sx - rlen, yoff);
tty_putn(tty, rbuf, rlen, rlen);