diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-04-04 19:09:34 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-04-04 19:09:34 +0200 |
| commit | 9bb9eda302ba20ce875ba702003458807da2003e (patch) | |
| tree | b7c175c3e317297584f52b8f80fd1a4bc900a09d /src/input_handler.hh | |
| parent | 6e2fa38c15e7e1bdb50498697b22a195782a4018 (diff) | |
Dynamically change prompt color for regex prompt depending on regex validity
Diffstat (limited to 'src/input_handler.hh')
| -rw-r--r-- | src/input_handler.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh index d4509752..7b2d771f 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -49,6 +49,7 @@ public: // not change the mode itself void prompt(const String& prompt, ColorPair prompt_colors, Completer completer, PromptCallback callback); + void set_prompt_colors(ColorPair prompt_colors); // enter menu mode, callback is called on each selection change, // abort or validation with corresponding MenuEvent value |
