diff --git a/src/fenrir/core/outputManager.py b/src/fenrir/core/outputManager.py index 53950729..e07445cf 100644 --- a/src/fenrir/core/outputManager.py +++ b/src/fenrir/core/outputManager.py @@ -108,7 +108,7 @@ class outputManager(): self.env['output']['nextFlush'] = time.time() + 5.0 self.env['output']['messageText'] = text - self.env['runtime']['brailleDriver'].writeText(text[:size[0]]) + self.env['runtime']['brailleDriver'].writeText(self.env['output']['messageText'] [:size[0]]) else: if self.env['output']['nextFlush'] < time.time(): if self.env['output']['messageText'] != '': @@ -117,6 +117,8 @@ class outputManager(): x, y, currLine = \ line_utils.getCurrentLine(cursor['x'], cursor['y'], self.env['screenData']['newContentText']) self.env['runtime']['brailleDriver'].writeText(currLine[:size[0]]) + else: + self.env['runtime']['brailleDriver'].writeText(self.env['output']['messageText'] [:size[0]]) def interruptOutput(self): self.env['runtime']['speechDriver'].cancel()