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.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index 036633dc..c67c8399 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -94,8 +94,8 @@ private:
void push_mode(InputMode* new_mode);
std::unique_ptr<InputMode> pop_mode(InputMode* current_mode);
- struct Insertion{ InsertMode mode; Vector<Key> keys; };
- Insertion m_last_insert = {InsertMode::Insert, {}};
+ struct Insertion{ InsertMode mode; Vector<Key> keys; bool disable_hooks; };
+ Insertion m_last_insert = { InsertMode::Insert, {}, false };
char m_recording_reg = 0;
String m_recorded_keys;