def newPrompt(self):
        if self.construct:
            prompt = '.' * len(self.prompt)
        else:
            prompt = self.prompt

        self.completions_pos = self.textCursor().position()
        self.completions_visible = False

        self.appendPlainText(prompt)
        self.moveCursor(QtGui.QTextCursor.End)
dataset/ETHPy150Open bitxbay/BitXBay/electru/build/lib/electrum_gui/qt/console.py/Console.newPrompt/original