diff options
author | sabetts <sabetts> | 2005-02-06 20:51:37 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2005-02-06 20:51:37 +0000 |
commit | 42202c1b5d3d037173a25ce3ac76db5f0429eb90 (patch) | |
tree | 5ed2156ea1a21793cad0ce1be9408c41cffb4954 /src/actions.c | |
parent | acead7a785e5fd3ba144937133bd9276b76016d8 (diff) | |
download | ratpoison-42202c1b5d3d037173a25ce3ac76db5f0429eb90.zip |
(cmd_prompt): allow prompt to be run
interactively.
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/actions.c b/src/actions.c index 3f99057..5963fbe 100644 --- a/src/actions.c +++ b/src/actions.c @@ -5029,10 +5029,6 @@ cmd_prompt (int interactive, struct cmdarg **args) cmdret *ret; char *query, *output, *prefix; - /* prompt has no use in interactive mode. So just silently fail. */ - if (interactive) - return cmdret_new (NULL, RET_FAILURE); - if (args[0] == NULL) output = get_input(MESSAGE_PROMPT_COMMAND, trivial_completions); else |