The branch, master has been updated
       via  7c009509676b4580065fdc6f0084a93b9758fac0 (commit)
      from  7b4084a15a5c82824737051143dfe0115cff52e5 (commit)

- Log -----------------------------------------------------------------
commit 7c009509676b4580065fdc6f0084a93b9758fac0
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>

    Don't add prefix to %output pane id.
---
 control-notify.c |    6 +++---
 tmux.1           |    6 ++----
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/control-notify.c b/control-notify.c
index 6bc98b6..90ee4ff 100644
--- a/control-notify.c
+++ b/control-notify.c
@@ -45,7 +45,7 @@ control_notify_input(struct client *c, struct window_pane *wp,
         */
        if (winlink_find_by_window(&c->session->windows, wp->window) != NULL) {
                message = evbuffer_new();
-               evbuffer_add_printf(message, "%%output %%%u ", wp->id);
+               evbuffer_add_printf(message, "%%output %u ", wp->id);
                for (i = 0; i < len; i++)
                        evbuffer_add_printf(message, "%02hhx", buf[i]);
                control_write_buffer(c, message);
@@ -141,7 +141,7 @@ control_notify_window_renamed(struct window *w)
                        continue;
                s = c->session;
 
-                control_write(c, "%%window-renamed %u %s", w->id, w->name);
+               control_write(c, "%%window-renamed %u %s", w->id, w->name);
        }
 }
 
@@ -154,7 +154,7 @@ control_notify_attached_session_changed(struct client *c)
                return;
        s = c->session;
 
-       control_write(c, "%%session-changed %d %s", s->id, s->name);
+       control_write(c, "%%session-changed %u %s", s->id, s->name);
 }
 
 void
diff --git a/tmux.1 b/tmux.1
index f73af3f..519bf6f 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3669,10 +3669,8 @@ The layout of a window with ID
 changed.
 The new layout is
 .Ar window-layout .
-.It Ic %output Ar source-pane Ar value
-A window pane,
-.Ar source-pane ,
-produced output.
+.It Ic %output Ar pane-id Ar value
+A window pane produced output.
 .Ar value
 contains that output with each byte encoded as two hex digits.
 .It Ic %session-changed Ar session-id Ar name


-----------------------------------------------------------------------

Summary of changes:
 control-notify.c |    6 +++---
 tmux.1           |    6 ++----
 2 files changed, 5 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to