summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2014-01-09 14:20:55 +0000
committernicm <nicm>2014-01-09 14:20:55 +0000
commit1a0d3cd5d3bfcf15be80b5c9739b039fc7e0f575 (patch)
tree1883c8328296f31713670b1df01187adc49474c2 /tmux.h
parentadc1f21eaee899b8ecfdb6ef3676d9a25019e4fa (diff)
Allow attach-session -t to accept a window and pane to select them on
attach. Based on a diff from J Raynor.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 81c99f9b..0a4f8fb5 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1739,6 +1739,8 @@ int cmd_find_index(struct cmd_q *, const char *,
struct winlink *cmd_find_pane(struct cmd_q *, const char *, struct session **,
struct window_pane **);
char *cmd_template_replace(const char *, const char *, int);
+struct window *cmd_lookup_windowid(const char *);
+struct window_pane *cmd_lookup_paneid(const char *);
extern const struct cmd_entry *cmd_table[];
extern const struct cmd_entry cmd_attach_session_entry;
extern const struct cmd_entry cmd_bind_key_entry;