mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
index prompt.
This commit is contained in:
parent
b87789707b
commit
8fee858871
@ -1,4 +1,4 @@
|
|||||||
/* $Id: cmd-select-prompt.c,v 1.1 2008-06-25 20:43:13 nicm Exp $ */
|
/* $Id: cmd-select-prompt.c,v 1.2 2008-06-25 20:44:26 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -55,7 +55,7 @@ cmd_select_prompt_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
if (c->prompt_string != NULL)
|
if (c->prompt_string != NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
server_set_client_prompt(c, "'", cmd_select_prompt_callback, c);
|
server_set_client_prompt(c, "index ", cmd_select_prompt_callback, c);
|
||||||
|
|
||||||
if (ctx->cmdclient != NULL)
|
if (ctx->cmdclient != NULL)
|
||||||
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);
|
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user