From 014e5032aca929b4729df2d1d2bb9876c7b29167 Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 27 Aug 2017 22:29:03 +0200 Subject: [PATCH] fix interrupt while typing --- src/fenrir/commands/onInput/10000-shut_up.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/commands/onInput/10000-shut_up.py b/src/fenrir/commands/onInput/10000-shut_up.py index 49ed72a8..b3a2dea7 100644 --- a/src/fenrir/commands/onInput/10000-shut_up.py +++ b/src/fenrir/commands/onInput/10000-shut_up.py @@ -23,7 +23,7 @@ class command(): return if self.env['runtime']['screenManager'].isScreenChange(): return - if len(self.env['runtime']['inputManager'].getLastDeepestInput()) > len(self.env['input']['currInput']): + if len(self.env['input']['currInput']) <= len(self.env['input']['prevInput']): return # if the filter is set if self.env['runtime']['settingsManager'].getSetting('keyboard', 'interruptOnKeyPressFilter').strip() != '':