summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-03-12 20:02:47 +0000
committernicm <nicm@openbsd.org>2019-03-12 20:02:47 +0000
commit5c6c700103c5461c5f4d0a54e30035403322337f (patch)
tree3d652cb86aa643d80416cb9bdf4921305185c048 /usr.bin/tmux/window-buffer.c
parentfix line break (diff)
downloadwireguard-openbsd-5c6c700103c5461c5f4d0a54e30035403322337f.tar.xz
wireguard-openbsd-5c6c700103c5461c5f4d0a54e30035403322337f.zip
DECRC and DECSC apparently need to preserve origin mode as well, based
on a fix from Marc Reisner.
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
-rw-r--r--usr.bin/tmux/window-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-buffer.c b/usr.bin/tmux/window-buffer.c
index ad571e47177..f4a90e16b78 100644
--- a/usr.bin/tmux/window-buffer.c
+++ b/usr.bin/tmux/window-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-buffer.c,v 1.15 2019/03/07 20:24:21 nicm Exp $ */
+/* $OpenBSD: window-buffer.c,v 1.16 2019/03/12 20:02:47 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -226,7 +226,7 @@ window_buffer_draw(__unused void *modedata, void *itemdata,
line[at] = '\0';
if (*line != '\0') {
- screen_write_cursormove(ctx, cx, cy + i);
+ screen_write_cursormove(ctx, cx, cy + i, 0);
screen_write_puts(ctx, &grid_default_cell, "%s", line);
}