Hi,

one of the recent changes to tmux has the unintented side-effect that
all clients are being redrawn every second. This is visible for people
with slow terminals and furthermore makes copying text with the mouse
quite tricky. Here's a trivial fix:

Index: server.c
===================================================================
RCS file: /cvs/src/usr.bin/tmux/server.c,v
retrieving revision 1.28
diff -u server.c
--- server.c    4 Sep 2009 13:29:10 -0000       1.28
+++ server.c    4 Sep 2009 23:31:04 -0000
@@ -1210,7 +1210,7 @@
                }
        }
 
-       if (t > password_backoff) {
+       if (server_locked && t > password_backoff) {
                for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
                        if ((c = ARRAY_ITEM(&clients, i)) != NULL)
                                server_redraw_client(c);

-- 
Simon Nicolussi, <simon.nicolu...@student.uibk.ac.at>
http://homepage.uibk.ac.at/~csag9583/

Reply via email to