Remove white space from right of lines copied to clipboard.
This commit is contained in:
		| @@ -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) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user