1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-01-05 21:14:09 +01:00

fix(terminal): added default args to avoid designer crashes on startup

This commit is contained in:
2024-07-08 19:38:30 +02:00
parent 7018506872
commit a9b808d86a

View File

@@ -222,7 +222,7 @@ class _TerminalWidget(QtWidgets.QPlainTextEdit):
Start ``Backend`` process and render Pyte output as text. Start ``Backend`` process and render Pyte output as text.
""" """
def __init__(self, parent, numColumns, numLines, **kwargs): def __init__(self, parent, numColumns=125, numLines=50, **kwargs):
super().__init__(parent) super().__init__(parent)
# file descriptor to communicate with the subprocess # file descriptor to communicate with the subprocess