summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-11-27 18:52:43 +0100
committerMaxime Coste <frrrwww@gmail.com>2012-11-27 18:52:43 +0100
commit4c1b48e314baac5b5a9d5cba6f32ade47778eddb (patch)
tree49ec3be70a2b15d809071a14e76093c8f5c24afd /src/input_handler.hh
parentdc268758dd9e88356f301cf2ae24ccdd3837df60 (diff)
InputHandler: InputModes no longer die directly on mode change, they survive until end of on_key
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index 98762dfb..e5509c22 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -41,6 +41,7 @@ public:
private:
friend class InputMode;
std::unique_ptr<InputMode> m_mode;
+ std::vector<std::unique_ptr<InputMode>> m_mode_trash;
};
struct prompt_aborted {};