CVSROOT:        /cvs
Module name:    src
Changes by:     n...@cvs.openbsd.org    2017/05/01 06:20:55

Modified files:
        usr.bin/tmux   : cfg.c cmd-display-message.c cmd-list-buffers.c 
                         cmd-list-clients.c cmd-list-keys.c 
                         cmd-list-panes.c cmd-list-sessions.c 
                         cmd-list-windows.c cmd-pipe-pane.c cmd-queue.c 
                         format.c names.c screen-redraw.c 
                         server-client.c status.c tmux.h window-choose.c 

Log message:
In order that people can use formats like #D in #() in the status line
and not have to wait for an update when they change pane, we allow
commands to run more than once a second if the expanded form
changes. Unfortunately this can mean them being run far too often
(pretty much continually) when multiple clients exist, because some
formats (including #D) will always differ between clients.

To avoid this, give each client its own tree of jobs which means that
the same command will be different instances for each client - similar
to how we have the tag to separate commands for different panes.

GitHub issue 889; test case reported by Paul Johnson.

Reply via email to