commit 2a1699c0e5ecfeb79b4395f8a52df5eee3822f3b
parent aae06116f9cff9e3540c20a8fb6e51011ca9b3ab
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 30 Sep 2020 16:18:24 +0200
Merge pull request #6617 from verretor/console-history
Save indented lines in console history
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py
@@ -173,7 +173,7 @@ class Console(QtWidgets.QPlainTextEdit):
return command
def addToHistory(self, command):
- if command[0:1] == ' ':
+ if not self.construct and command[0:1] == ' ':
return
if command and (not self.history or self.history[-1] != command):