URI: 
       tMerge pull request #6552 from verretor/console-constructs - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 6d67e7713672f325f873b9ca3ee60ff9970810f2
   DIR parent ba649fa8ab61a758a2a8bdb7f3c4d0f6ddee17a6
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu,  3 Sep 2020 14:26:36 +0200
       
       Merge pull request #6552 from verretor/console-constructs
       
       Fix handling of constructs in console
       Diffstat:
         M electrum/gui/qt/console.py          |       5 ++---
       
       1 file changed, 2 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/console.py b/electrum/gui/qt/console.py
       t@@ -99,7 +99,7 @@ class Console(QtWidgets.QPlainTextEdit):
        
            def newPrompt(self, curr_line):
                if self.construct:
       -            prompt = '.' * len(self.prompt)
       +            prompt = '... '
                else:
                    prompt = self.prompt + curr_line
        
       t@@ -160,9 +160,8 @@ class Console(QtWidgets.QPlainTextEdit):
        
            def getConstruct(self, command):
                if self.construct:
       -            prev_command = self.construct[-1]
                    self.construct.append(command)
       -            if not prev_command and not command:
       +            if not command:
                        ret_val = '\n'.join(self.construct)
                        self.construct = []
                        return ret_val