diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-12-18 23:12:58 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-12-18 23:12:58 +0000 |
| commit | 1c8ee78d1a0abff5df3f771215786ede4613ccb9 (patch) | |
| tree | 52e1f7745d2bf29ba584325a3055d3530d0c88fd /src/input_handler.hh | |
| parent | abe3856d2937f80c169a382d5ea76dda4f405884 (diff) | |
Do not register timers for transient input handlers
Diffstat (limited to 'src/input_handler.hh')
| -rw-r--r-- | src/input_handler.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh index 858ad360..f65d4978 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -38,7 +38,9 @@ enum class KeymapMode : int; class InputHandler : public SafeCountable { public: - InputHandler(SelectionList selections, String name = ""); + InputHandler(SelectionList selections, + Context::Flags flags = Context::Flags::None, + String name = ""); ~InputHandler(); // switch to insert mode @@ -80,6 +82,7 @@ public: DisplayLine mode_line() const; void clear_mode_trash(); + private: Context m_context; |
