Make list-commands command show only one command if an argument is

given, from Ilya Grigoriev in GitHub issue 4352.
This commit is contained in:
nicm
2025-01-27 09:16:05 +00:00
parent 244bb726e2
commit 4c12ac9fb8
3 changed files with 43 additions and 28 deletions

1
tmux.h
View File

@ -2597,6 +2597,7 @@ int cmd_find_from_nothing(struct cmd_find_state *, int);
/* cmd.c */
extern const struct cmd_entry *cmd_table[];
const struct cmd_entry *cmd_find(const char *, char **);
void printflike(3, 4) cmd_log_argv(int, char **, const char *, ...);
void cmd_prepend_argv(int *, char ***, const char *);
void cmd_append_argv(int *, char ***, const char *);