Show More
@@ -324,7 +324,12 class FrontendWidget(HistoryConsoleWidget, BaseFrontendMixin): | |||
|
324 | 324 | """ Handle stdout, stderr, and stdin. |
|
325 | 325 | """ |
|
326 | 326 | if not self._hidden and self._is_from_this_session(msg): |
|
327 | self._append_plain_text(msg['content']['data']) | |
|
327 | # Most consoles treat tabs as being 8 space characters. Convert tabs | |
|
328 | # to spaces so that output looks as expected regardless of this | |
|
329 | # widget's tab width. | |
|
330 | text = msg['content']['data'].expandtabs(8) | |
|
331 | ||
|
332 | self._append_plain_text(text) | |
|
328 | 333 | self._control.moveCursor(QtGui.QTextCursor.End) |
|
329 | 334 | |
|
330 | 335 | def _started_channels(self): |
General Comments 0
You need to be logged in to leave comments.
Login now