console: catch help()
This commit is contained in:
parent
1f3f6b19e2
commit
dc466142d3
|
@ -177,6 +177,11 @@ class Console(QtGui.QPlainTextEdit):
|
||||||
QtCore.QCoreApplication.processEvents()
|
QtCore.QCoreApplication.processEvents()
|
||||||
self.skip = not self.skip
|
self.skip = not self.skip
|
||||||
|
|
||||||
|
if command == 'help()':
|
||||||
|
self.appendPlainText("no help here!")
|
||||||
|
self.newPrompt()
|
||||||
|
return
|
||||||
|
|
||||||
sys.stdout = stdoutProxy(self.appendPlainText)
|
sys.stdout = stdoutProxy(self.appendPlainText)
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue