From a9b808d86ade95543bdd46720dfeb3be7a2ec04c Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Mon, 8 Jul 2024 19:38:30 +0200 Subject: [PATCH] fix(terminal): added default args to avoid designer crashes on startup --- bec_widgets/widgets/console/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bec_widgets/widgets/console/console.py b/bec_widgets/widgets/console/console.py index 98e82eee..97c9a047 100644 --- a/bec_widgets/widgets/console/console.py +++ b/bec_widgets/widgets/console/console.py @@ -222,7 +222,7 @@ class _TerminalWidget(QtWidgets.QPlainTextEdit): 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) # file descriptor to communicate with the subprocess