Revision: 2739
http://tmux.svn.sourceforge.net/tmux/?rev=2739&view=rev
Author: tcunha
Date: 2012-03-18 02:01:46 +0000 (Sun, 18 Mar 2012)
Log Message:
-----------
Sync OpenBSD patchset 1060:
Use the region lower not the pane size to work out where the bottom line
is.
Modified Paths:
--------------
trunk/tty.c
Modified: trunk/tty.c
===================================================================
--- trunk/tty.c 2012-03-18 02:01:16 UTC (rev 2738)
+++ trunk/tty.c 2012-03-18 02:01:46 UTC (rev 2739)
@@ -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 - 1)
+ if (ctx->ocy != wp->yoff + wp->screen->rlower)
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs