-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On Sat, May 19, 2012 at 06:22:16 GMT, Thomas Adam wrote:
>> There are some nits in general. A macro for format string usage help
>> similar to target client/session/window/pane is likely in order now
>
> This is difficult to do, not least of which be
On Sun, May 20, 2012 at 9:44 AM, Sinbad wrote:
> On Thu, May 17, 2012 at 1:36 PM, Thomas Adam wrote:
>
>> On 17 May 2012 08:55, Sinbad wrote:
>> > i'm trying to pull latest tmux code from git.
>> > when i run "git svn clone " it is fetching
>> > all the revisions, how can i just pull the latest
On Thu, May 17, 2012 at 1:36 PM, Thomas Adam wrote:
> On 17 May 2012 08:55, Sinbad wrote:
> > i'm trying to pull latest tmux code from git.
> > when i run "git svn clone " it is fetching
> > all the revisions, how can i just pull the latest
> > snapshot of the code without getting revision
> > h
This adds the default format options for sessions, windows, clients, buffers
because both templates are used for list-* and choose-*.
Also introduces other default template macros for commands already using
formatting code.
---
trunk/tmux.h | 24
1 file changed, 24 inse
This adds formatting support to new-window.
---
trunk/cmd-new-window.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/trunk/cmd-new-window.c b/trunk/cmd-new-window.c
index ccc6d5e..9425855 100644
--- a/trunk/cmd-new-window.c
+++ b/trunk/cmd-new-window.c
@@ -122,15 +12
This adds formatting support to break-pane.
---
trunk/cmd-break-pane.c |7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/trunk/cmd-break-pane.c b/trunk/cmd-break-pane.c
index 9d3cbbf..cfa599f 100644
--- a/trunk/cmd-break-pane.c
+++ b/trunk/cmd-break-pane.c
@@ -93,9 +93,
This teaches the choose/list commands to use -F.
---
trunk/cmd-choose-session.c | 33 +
trunk/cmd-list-sessions.c | 10 ++
2 files changed, 19 insertions(+), 24 deletions(-)
diff --git a/trunk/cmd-choose-session.c b/trunk/cmd-choose-session.c
index d3e
This teaches the list/choose windows command to accept -F, and in doing so,
add #{window_panes} to return the total number of panes for a window.
---
trunk/cmd-choose-window.c | 41 ++---
trunk/cmd-list-windows.c | 14 +++---
trunk/format.c
---
trunk/tmux.1 | 51 +++
1 file changed, 43 insertions(+), 8 deletions(-)
diff --git a/trunk/tmux.1 b/trunk/tmux.1
index bc83be1..9b8e404 100644
--- a/trunk/tmux.1
+++ b/trunk/tmux.1
@@ -1036,6 +1036,7 @@ visible pane and negative numbers are li
This teaches the list/choose buffers command to accept -F, and in doing so,
creates new buffer-specific format options.
---
trunk/cmd-choose-buffer.c | 24 +---
trunk/cmd-list-buffers.c | 25 ++---
trunk/format.c| 11 +++
trunk/tmu
This teaches the choose/list commands to use -F.
---
trunk/cmd-choose-client.c | 26 ++
trunk/cmd-list-clients.c |9 ++---
2 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/trunk/cmd-choose-client.c b/trunk/cmd-choose-client.c
index 730474d..5ae882
Add format support to find-window. This also adds a new format placeholder
"#{window_find_matches}" to put information about any content found with
find-window.
---
trunk/cmd-find-window.c | 30 +-
1 file changed, 21 insertions(+), 9 deletions(-)
diff --git a/trunk/
This adds formatting support to split-window.
---
trunk/cmd-split-window.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/trunk/cmd-split-window.c b/trunk/cmd-split-window.c
index 5b24d46..6cf08a2 100644
--- a/trunk/cmd-split-window.c
+++ b/trunk/cmd-split-window.c
@@
This adds formatting support to display-message.
---
trunk/cmd-display-message.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trunk/cmd-display-message.c b/trunk/cmd-display-message.c
index f7d75e3..64cbed8 100644
--- a/trunk/cmd-display-message.c
+++ b/trunk/cmd-display-
Hi,
This is version 2 of the original set of patches I sent out a few days ago
to add formatting support to a bunch of existing commands.
Notable changes from version 1:
* Tried to maintain getopts sort-order.
* Fixed missing "F:" in cmd-choose-session.c
* Amalgamated several smaller commands us
15 matches
Mail list logo