Browse Source
Merge pull request #6617 from verretor/console-history
Save indented lines in console history
patch-4
ThomasV
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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): |
|
|
|