Revision: 2729
http://tmux.svn.sourceforge.net/tmux/?rev=2729&view=rev
Author: tcunha
Date: 2012-03-18 01:40:26 +0000 (Sun, 18 Mar 2012)
Log Message:
-----------
Sync OpenBSD patchset 1050:
Store context off before moving the cursor when wrapping, to fix long
standing bug drawing over the status line.
Modified Paths:
--------------
trunk/screen-write.c
Modified: trunk/screen-write.c
===================================================================
--- trunk/screen-write.c 2012-03-18 01:38:27 UTC (rev 2728)
+++ trunk/screen-write.c 2012-03-18 01:40:26 UTC (rev 2729)
@@ -1071,9 +1071,6 @@
return;
}
- /* Initialise the redraw context, saving the last cell. */
- screen_write_initctx(ctx, &ttyctx, 1);
-
/* If in insert mode, make space for the cells. */
if (s->mode & MODE_INSERT && s->cx <= screen_size_x(s) - width) {
xx = screen_size_x(s) - s->cx - width;
@@ -1087,6 +1084,9 @@
s->cx = 0; /* carriage return */
}
+ /* Initialise the redraw context, saving the last cell. */
+ screen_write_initctx(ctx, &ttyctx, 1);
+
/* Sanity checks. */
if (((s->mode & MODE_WRAP) && s->cx > screen_size_x(s) - width)
|| s->cy > screen_size_y(s) - 1)
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