#include <sys/types.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "tmux.h"
Go to the source code of this file.
◆ cmd_command_prompt_callback()
static int cmd_command_prompt_callback |
( |
struct client * |
c, |
|
|
void * |
data, |
|
|
const char * |
s, |
|
|
int |
done |
|
) |
| |
|
static |
Definition at line 138 of file cmd-command-prompt.c.
References cmd_parse_and_append(), CMD_PARSE_ERROR, cmd_template_replace(), cmdq_append(), cmdq_get_error(), cmd_command_prompt_cdata::flags, cmd_command_prompt_cdata::idx, cmd_command_prompt_cdata::next_input, cmd_command_prompt_cdata::next_prompt, PROMPT_INCREMENTAL, client::prompt_inputcb, status_prompt_update(), strsep(), cmd_command_prompt_cdata::template, and xasprintf().
◆ cmd_command_prompt_exec()
◆ cmd_command_prompt_free()
static void cmd_command_prompt_free |
( |
void * |
data | ) |
|
|
static |
◆ cmd_command_prompt_entry
const struct cmd_entry cmd_command_prompt_entry |
Initial value:= {
.name = "command-prompt",
.alias = NULL,
.args = { "1kiI:Np:Tt:W", 0, 1 },
.usage = "[-1kiNTW] [-I inputs] [-p prompts] " "[-t target-client]" " "
"[template]",
.flags = 0x10 ,
}
static enum cmd_retval cmd_command_prompt_exec(struct cmd *, struct cmdq_item *)
Definition at line 37 of file cmd-command-prompt.c.