summaryrefslogtreecommitdiff
path: root/src/commands.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-10-31 12:54:21 +1100
committerMaxime Coste <mawww@kakoune.org>2017-10-31 12:54:21 +1100
commit6272847acefc0651124f7a1d7dcbb224ef60affb (patch)
tree586b57415a7d04ff27382385bc200d5023a0cda8 /src/commands.cc
parent6d78b06405622ac5abc1b5587cc65d30a93e4815 (diff)
Prompt: display the fallback text everytime the prompt is empty
Diffstat (limited to 'src/commands.cc')
-rw-r--r--src/commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc
index c0cdc2be..f4f4dc75 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -1778,7 +1778,7 @@ const CommandDesc prompt_cmd = {
CapturedShellContext sc{shell_context};
context.input_handler().prompt(
- parser[0], initstr.str(), get_face("Prompt"),
+ parser[0], initstr.str(), {}, get_face("Prompt"),
flags, std::move(completer),
[=](StringView str, PromptEvent event, Context& context) mutable
{