mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
help for functions
This commit is contained in:
parent
e16451556e
commit
c00d3a34eb
1 changed files with 5 additions and 0 deletions
|
@ -191,6 +191,11 @@ class Console(QtGui.QPlainTextEdit):
|
|||
QtCore.QCoreApplication.processEvents()
|
||||
self.skip = not self.skip
|
||||
|
||||
if type(self.namespace.get(command)) == type(lambda:None):
|
||||
self.appendPlainText("'%s' is a function. Type '%s()' to call it."%(command, command))
|
||||
self.newPrompt()
|
||||
return
|
||||
|
||||
sys.stdout = stdoutProxy(self.appendPlainText)
|
||||
try:
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue