diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-09-10 19:06:53 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-09-10 19:06:53 +0100 |
| commit | 827a77539af80d7ffa314d13c4cc4e7927709a55 (patch) | |
| tree | 59333a1c4e70711aee72acc239b84569bdf3ee16 /src/input_handler.hh | |
| parent | c18e2ac90ee575338234986d41e7773bed00b0a6 (diff) | |
Add some color to mode specific mode line info
Diffstat (limited to 'src/input_handler.hh')
| -rw-r--r-- | src/input_handler.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh index dd027910..5515de2a 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -31,6 +31,7 @@ using PromptCallback = std::function<void (const String&, PromptEvent, Context&) using KeyCallback = std::function<void (Key, Context&)>; class InputMode; +class DisplayLine; enum class InsertMode : unsigned; class InputHandler : public SafeCountable @@ -76,7 +77,7 @@ public: Context& context() { return m_context; } const Context& context() const { return m_context; } - String mode_string() const; + DisplayLine mode_line() const; void clear_mode_trash(); private: Context m_context; |
