1
0

Merge pull request #6617 from verretor/console-history

Save indented lines in console history
This commit is contained in:
ThomasV
2020-09-30 16:18:24 +02:00
committed by GitHub

View File

@@ -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):