From 48427c247c94bfcdadc921826ca32dff4d7800df Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 6 Mar 2020 13:13:26 -0500 Subject: [PATCH] Remove white space from right of lines copied to clipboard. --- .../commands/commands/copy_last_echo_to_clipboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/commands/commands/copy_last_echo_to_clipboard.py b/src/fenrirscreenreader/commands/commands/copy_last_echo_to_clipboard.py index d6918a4a..136cd1f2 100644 --- a/src/fenrirscreenreader/commands/commands/copy_last_echo_to_clipboard.py +++ b/src/fenrirscreenreader/commands/commands/copy_last_echo_to_clipboard.py @@ -18,7 +18,7 @@ class command(): return _('copies last presented text to the clipboard') def run(self): - lastEcho = self.env['runtime']['outputManager'].getLastEcho() + lastEcho = self.env['runtime']['outputManager'].getLastEcho().rstrip() self.env['runtime']['memoryManager'].addValueToFirstIndex('clipboardHistory', lastEcho) self.env['runtime']['outputManager'].presentText(lastEcho, soundIcon='CopyToClipboard', interrupt=True)