tqt console: fix usage in --offline mode - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a5c6a570ae6842704b1fdd416c807dcf56688989 DIR parent 8c1c07a290946d7d26c79e54631d068387b0d9dc HTML Author: SomberNight <somber.night@protonmail.com> Date: Sat, 14 Nov 2020 19:36:54 +0100 qt console: fix usage in --offline mode fixes #6731 related: #6467 Diffstat: M electrum/gui/qt/console.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py t@@ -59,6 +59,7 @@ class Console(QtWidgets.QPlainTextEdit): self.setWordWrapMode(QtGui.QTextOption.WrapAnywhere) self.setUndoRedoEnabled(False) self.document().setDefaultFont(QtGui.QFont(MONOSPACE_FONT, 10, QtGui.QFont.Normal)) + self.newPrompt("") # make sure there is always a prompt, even before first server.banner self.updateNamespace({'run':self.run_script}) self.set_json(False)