Allow attach-session -t to accept a window and pane to select them on

attach. Based on a diff from J Raynor.
This commit is contained in:
nicm
2014-01-09 14:20:55 +00:00
parent adc1f21eae
commit 1a0d3cd5d3
3 changed files with 26 additions and 4 deletions

2
tmux.h
View File

@@ -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;