The branch, hooks has been updated
via 0b9b58834af4e0ac5d99eab18e7d1a8a0f09f740 (commit)
via 0ef21395848c33e3272f7d92db4c9775a3c5db14 (commit)
from 8b8df29509224a5200c5bbfa3f4521faae3f1b49 (commit)
- Log -----------------------------------------------------------------
commit 0b9b58834af4e0ac5d99eab18e7d1a8a0f09f740
Merge: 0ef2139 8b8df29
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>
Merge branch 'hooks' of ssh://git.code.sf.net/p/tmux/tmux-code into hooks
cmd-list-clients.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
commit 0ef21395848c33e3272f7d92db4c9775a3c5db14
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>
Convert clock-mode.
---
cmd-clock-mode.c | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/cmd-clock-mode.c b/cmd-clock-mode.c
index 8083581..8619256 100644
--- a/cmd-clock-mode.c
+++ b/cmd-clock-mode.c
@@ -30,20 +30,14 @@ const struct cmd_entry cmd_clock_mode_entry = {
"clock-mode", NULL,
"t:", 0, 0,
CMD_TARGET_PANE_USAGE,
- 0,
+ CMD_PREP_PANE_T,
cmd_clock_mode_exec
};
enum cmd_retval
-cmd_clock_mode_exec(struct cmd *self, struct cmd_q *cmdq)
+cmd_clock_mode_exec(unused struct cmd *self, struct cmd_q *cmdq)
{
- struct args *args = self->args;
- struct window_pane *wp;
-
- if (cmd_find_pane(cmdq, args_get(args, 't'), NULL, &wp) == NULL)
- return (CMD_RETURN_ERROR);
-
- window_pane_set_mode(wp, &window_clock_mode);
+ window_pane_set_mode(cmdq->state.tflag.wp, &window_clock_mode);
return (CMD_RETURN_NORMAL);
}
-----------------------------------------------------------------------
Summary of changes:
cmd-clock-mode.c | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
hooks/post-receive
--
tmux
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs