summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 11f2d5e3..7ca4afc0 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -289,7 +289,7 @@ public:
{
auto pop_if_single_command = on_scope_end([this] {
if (m_state == State::SingleCommand and enabled())
- pop_mode();
+ pop_mode();
else if (m_state == State::SingleCommand)
m_state = State::PopOnEnabled;
});