summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
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/input_handler.hh
parent6d78b06405622ac5abc1b5587cc65d30a93e4815 (diff)
Prompt: display the fallback text everytime the prompt is empty
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index e184a8fa..9b23308c 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -34,7 +34,6 @@ enum class PromptFlags
None = 0,
Password = 1 << 0,
DropHistoryEntriesWithBlankPrefix = 1 << 1,
- InactiveInitString = 1 << 2,
};
constexpr bool with_bit_ops(Meta::Type<PromptFlags>) { return true; }
@@ -63,7 +62,7 @@ public:
// abort or validation with corresponding PromptEvent value
// returns to normal mode after validation if callback does
// not change the mode itself
- void prompt(StringView prompt, String initstr,
+ void prompt(StringView prompt, String initstr, String emptystr,
Face prompt_face, PromptFlags flags,
Completer completer, PromptCallback callback);
void set_prompt_face(Face prompt_face);