Revision: 2738
          http://tmux.svn.sourceforge.net/tmux/?rev=2738&view=rev
Author:   tcunha
Date:     2012-03-18 02:01:16 +0000 (Sun, 18 Mar 2012)
Log Message:
-----------
Sync OpenBSD patchset 1059:

Tweak last fix to actually hit the right end of pane.

Modified Paths:
--------------
    trunk/tty.c

Modified: trunk/tty.c
===================================================================
--- trunk/tty.c 2012-03-18 02:00:39 UTC (rev 2737)
+++ trunk/tty.c 2012-03-18 02:01:16 UTC (rev 2738)
@@ -1001,7 +1001,7 @@
                         * The pane doesn't fill the entire line, the linefeed
                         * will already have happened, so just move the cursor.
                         */
-                       if (ctx->ocy != wp->yoff + wp->sy)
+                       if (ctx->ocy != wp->yoff + wp->sy - 1)
                                tty_cursor_pane(tty, ctx, 0, ctx->ocy + 1);
                        else
                                tty_cursor_pane(tty, ctx, 0, ctx->ocy);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to