Skip to content

Commit 3aad6df

Browse files
committed
Update console_output.py
Call QCoreApplication.processEvents() after writing to Python console, enabling incremental output from Python scripts. Fixes #8343.
1 parent b9c9ec4 commit 3aad6df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/console/console_output.py

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def write(self, m):
5252
self.out.write(m)
5353

5454
self.move_cursor_to_end()
55+
QCoreApplication.processEvents()
5556

5657
def move_cursor_to_end(self):
5758
"""Move cursor to end of text"""

0 commit comments

Comments
 (0)