From 827a77539af80d7ffa314d13c4cc4e7927709a55 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 10 Sep 2014 19:06:53 +0100 Subject: Add some color to mode specific mode line info --- src/input_handler.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input_handler.hh') 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; 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; -- cgit v1.2.3