summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tmux/input.c4
-rw-r--r--usr.bin/tmux/tty.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 5c50566e117..e8a1cb6df82 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.115 2017/02/08 17:31:09 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.116 2017/02/16 12:56:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1389,7 +1389,7 @@ input_csi_dispatch(struct input_ctx *ictx)
break;
case INPUT_CSI_IL:
screen_write_insertline(sctx, input_get(ictx, 0, 1, 1),
- ictx->cell.cell.bg);
+ ictx->cell.cell.bg);
break;
case INPUT_CSI_RCP:
memcpy(&ictx->cell, &ictx->old_cell, sizeof ictx->cell);
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 9285a2eacf9..8ea79b50d2e 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.248 2017/02/15 11:22:13 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.249 2017/02/16 12:56:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1321,7 +1321,7 @@ tty_region(struct tty *tty, u_int rupper, u_int rlower)
tty_cursor(tty, 0, tty->cy);
tty_putcode2(tty, TTYC_CSR, tty->rupper, tty->rlower);
- tty->cx = tty->cy = 0;
+ tty->cx = tty->cy = UINT_MAX;
}
/* Turn off margin. */
@@ -1359,7 +1359,7 @@ tty_margin(struct tty *tty, u_int rleft, u_int rright)
else
snprintf(s, sizeof s, "\033[%u;%us", rleft + 1, rright + 1);
tty_puts(tty, s);
- tty->cx = tty->cy = 0;
+ tty->cx = tty->cy = UINT_MAX;
}
/* Move cursor inside pane. */