summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index 2962ac12..17c655d9 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -43,6 +43,7 @@ using KeyCallback = std::function<void (Key, Context&)>;
class InputMode;
enum class InsertMode : unsigned;
enum class KeymapMode : char;
+enum class CursorMode;
class InputHandler : public SafeCountable
{
@@ -91,6 +92,8 @@ public:
DisplayLine mode_line() const;
+ std::pair<CursorMode, DisplayCoord> get_cursor_info() const;
+
// Force an input handler into normal mode temporarily
struct ScopedForceNormal
{