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 6b260dcb..9089273d 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -71,6 +71,9 @@ private:
friend class InputMode;
std::unique_ptr<InputMode> m_mode;
std::vector<std::unique_ptr<InputMode>> m_mode_trash;
+
+ using Insertion = std::pair<InsertMode, std::vector<Key>>;
+ Insertion m_last_insert = {InsertMode::Insert, {}};
};
struct prompt_aborted {};