Revision: 2607
http://tmux.svn.sourceforge.net/tmux/?rev=2607&view=rev
Author: tcunha
Date: 2011-10-02 11:33:14 +0000 (Sun, 02 Oct 2011)
Log Message:
-----------
Sync OpenBSD patchset 961:
Add -S option to refresh-client to redraw status line, from Marco Beck.
Modified Paths:
--------------
trunk/cmd-refresh-client.c
trunk/tmux.1
Modified: trunk/cmd-refresh-client.c
===================================================================
--- trunk/cmd-refresh-client.c 2011-10-02 11:32:24 UTC (rev 2606)
+++ trunk/cmd-refresh-client.c 2011-10-02 11:33:14 UTC (rev 2607)
@@ -28,8 +28,8 @@
const struct cmd_entry cmd_refresh_client_entry = {
"refresh-client", "refresh",
- "t:", 0, 0,
- CMD_TARGET_CLIENT_USAGE,
+ "St:", 0, 0,
+ "[-S] " CMD_TARGET_CLIENT_USAGE,
0,
NULL,
NULL,
@@ -45,7 +45,11 @@
if ((c = cmd_find_client(ctx, args_get(args, 't'))) == NULL)
return (-1);
- server_redraw_client(c);
+ if (args_has(args, 'S')) {
+ status_update_jobs(c);
+ server_status_client(c);
+ } else
+ server_redraw_client(c);
return (0);
}
Modified: trunk/tmux.1
===================================================================
--- trunk/tmux.1 2011-10-02 11:32:24 UTC (rev 2606)
+++ trunk/tmux.1 2011-10-02 11:33:14 UTC (rev 2607)
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 23 2011 $
+.Dd $Mdocdate: September 28 2011 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -690,11 +690,17 @@
are invalid if
.Fl t
is used.
-.It Ic refresh-client Op Fl t Ar target-client
+.It Xo Ic refresh-client
+.Op Fl S
+.Op Fl t Ar target-client
+.Xc
.D1 (alias: Ic refresh )
Refresh the current client if bound to a key, or a single client if one is
given
with
.Fl t .
+If
+.Fl S
+is specified, only update the client's status bar.
.It Xo Ic rename-session
.Op Fl t Ar target-session
.Ar new-name
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs