Execute additional line clearing instructions only on Windows
@@ -1833,6 +1833,8 @@ class ConsoleWidget(MetaQObjectHasTraits('NewBase', (LoggingConfigurable, superQ
self._set_top_cursor(cursor)
cursor.joinPreviousEditBlock()
cursor.deletePreviousChar()
+
+ if os.name == 'nt':
cursor.select(QtGui.QTextCursor.Document)
cursor.removeSelectedText()
