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, 2 insertions, 0 deletions
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);