Update of /cvsroot/tmux/tmux
In directory vz-cvs-2.sog:/tmp/cvs-serv18327

Modified Files:
        tty.c 
Log Message:
|PatchSet 872
|Date: 2011/03/27 21:36:19
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Set the terminal blocking again earlier, before sending the reset
|sequences.



Index: tty.c
===================================================================
RCS file: /cvsroot/tmux/tmux/tty.c,v
retrieving revision 1.206
retrieving revision 1.207
diff -u -d -r1.206 -r1.207
--- tty.c       24 Mar 2011 17:03:29 -0000      1.206
+++ tty.c       6 Apr 2011 22:18:05 -0000       1.207
@@ -230,6 +230,8 @@
        if (tcsetattr(tty->fd, TCSANOW, &tty->tio) == -1)
                return;
 
+       setblocking(tty->fd, 1);
+
        tty_raw(tty, tty_term_string2(tty->term, TTYC_CSR, 0, ws.ws_row - 1));
        if (tty_use_acs(tty))
                tty_raw(tty, tty_term_string(tty->term, TTYC_RMACS));
@@ -242,8 +244,6 @@
                tty_raw(tty, "\033[?1000l");
 
        tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));
-
-       setblocking(tty->fd, 1);
 }
 
 void


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to