=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.216 retrieving revision 1.217 diff -c -r1.216 -r1.217 *** src/usr.bin/tmux/tty.c 2016/11/28 17:50:00 1.216 --- src/usr.bin/tmux/tty.c 2016/11/30 13:20:02 1.217 *************** *** 1,4 **** ! /* $OpenBSD: tty.c,v 1.216 2016/11/28 17:50:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tty.c,v 1.217 2016/11/30 13:20:02 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1153,1159 **** tty_cursor_pane(tty, ctx, 0, ctx->ocy + 1); else tty_cursor_pane(tty, ctx, 0, ctx->ocy); ! } else if (tty->cx < tty->sx) { /* * The cursor isn't in the last position already, so * move as far right as possible and redraw the last --- 1153,1159 ---- tty_cursor_pane(tty, ctx, 0, ctx->ocy + 1); else tty_cursor_pane(tty, ctx, 0, ctx->ocy); ! } else if (tty->cx != tty->sx - 1) { /* * The cursor isn't in the last position already, so * move as far right as possible and redraw the last