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

Use EL to clear to end of line if possible.

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

Modified: trunk/tty.c
===================================================================
--- trunk/tty.c 2012-03-18 01:35:39 UTC (rev 2725)
+++ trunk/tty.c 2012-03-18 01:36:49 UTC (rev 2726)
@@ -588,7 +588,8 @@
        tty_reset(tty);
 
        tty_cursor(tty, ox + sx, oy + py);
-       if (screen_size_x(s) >= tty->sx && tty_term_has(tty->term, TTYC_EL))
+       if (ox + sx + screen_size_x(s) >= tty->sx &&
+           tty_term_has(tty->term, TTYC_EL))
                tty_putcode(tty, TTYC_EL);
        else {
                for (i = sx; i < screen_size_x(s); i++)

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

Reply via email to