summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-06-03 12:06:29 +1000
committerMaxime Coste <mawww@kakoune.org>2018-06-03 12:17:38 +1000
commit2bdbf7e379412ff4461871c1eb342948f90f51ca (patch)
tree4df85311f992a50f442bcf3184f94f20bcf29bb6 /src/input_handler.hh
parent56e5322b452ada676ca03884d7e813f42e007013 (diff)
Add MenuStyle::Search that prevents the menu from hiding buffer text
Fixes #2042
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index f4f9f1b6..d5c9f7b4 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -35,6 +35,7 @@ enum class PromptFlags
None = 0,
Password = 1 << 0,
DropHistoryEntriesWithBlankPrefix = 1 << 1,
+ Search = 1 << 2,
};
constexpr bool with_bit_ops(Meta::Type<PromptFlags>) { return true; }