From ded4e84699794002b3f0ea775dc58f6ca102322f Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 30 Jun 2017 20:39:06 +0200 Subject: [PATCH] fix deletion --- .../commands/onScreenUpdate/65000-char_delete_echo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fenrir/commands/onScreenUpdate/65000-char_delete_echo.py b/src/fenrir/commands/onScreenUpdate/65000-char_delete_echo.py index e56cb644..1c13002a 100644 --- a/src/fenrir/commands/onScreenUpdate/65000-char_delete_echo.py +++ b/src/fenrir/commands/onScreenUpdate/65000-char_delete_echo.py @@ -36,9 +36,9 @@ class command(): if len(self.env['screen']['newNegativeDelta']) > 2: return currNegativeDelta = self.env['screen']['newNegativeDelta'] - #if len(currNegativeDelta.strip()) != len(currNegativeDelta) and \ - # currNegativeDelta.strip() != '': - # currNegativeDelta = currNegativeDelta.strip() + if len(currNegativeDelta.strip()) != len(currNegativeDelta) and \ + currNegativeDelta.strip() != '': + currNegativeDelta = currNegativeDelta.strip() self.env['runtime']['outputManager'].presentText(currNegativeDelta, interrupt=True, ignorePunctuation=True, announceCapital=True, flush=False) def setCallback(self, callback): pass