electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 9b416b577edfa2e4f4a62956b64262a1fcd52afa
parent f49e766b218649a5b64a196bcc055e41291fb223
Author: ThomasV <thomasv@electrum.org>
Date:   Mon,  3 Aug 2020 12:03:30 +0200

Merge pull request #6467 from verretor/console-startup-message

Remove empty startup message from console
Diffstat:
Melectrum/gui/qt/console.py | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py @@ -44,7 +44,7 @@ class OverlayLabel(QtWidgets.QLabel): class Console(QtWidgets.QPlainTextEdit): - def __init__(self, prompt='>> ', startup_message='', parent=None): + def __init__(self, prompt='>>> ', parent=None): QtWidgets.QPlainTextEdit.__init__(self, parent) self.prompt = prompt @@ -56,7 +56,6 @@ class Console(QtWidgets.QPlainTextEdit): self.setWordWrapMode(QtGui.QTextOption.WrapAnywhere) self.setUndoRedoEnabled(False) self.document().setDefaultFont(QtGui.QFont(MONOSPACE_FONT, 10, QtGui.QFont.Normal)) - self.showMessage(startup_message) self.updateNamespace({'run':self.run_script}) self.set_json(False) @@ -347,10 +346,3 @@ class Console(QtWidgets.QPlainTextEdit): self.setCommand(beginning + p) else: self.show_completions(completions) - - -welcome_message = ''' - --------------------------------------------------------------- - Welcome to a primitive Python interpreter. - --------------------------------------------------------------- -'''