diff --git a/src/input_handler.cc b/src/input_handler.cc index bf363d69..523a1660 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -84,6 +84,8 @@ public: { if (key.modifiers == Key::Modifiers::None and isdigit(key.key)) m_count = m_count * 10 + key.key - '0'; + else if (key == Key::Backspace) + m_count /= 10; else { auto it = keymap.find(key);