@@ -94,6 +94,7 @@ def __init__(self, parent=None):
94
94
self .setMarginsFont (font )
95
95
self .setMarginWidth (1 , "00000" )
96
96
self .setMarginType (1 , 5 )
97
+ self .setCaretLineVisible (False )
97
98
98
99
self .buffer = []
99
100
@@ -179,8 +180,7 @@ def refreshSettingsShell(self):
179
180
QColor (self .MATCHED_BRACE_BACKGROUND_COLOR ))))
180
181
self .setMatchedBraceForegroundColor (QColor (self .settings .value ("pythonConsole/matchedBraceForegroundColor" ,
181
182
QColor (self .MATCHED_BRACE_FOREGROUND_COLOR ))))
182
- self .setMarginsBackgroundColor (
183
- QColor (self .settings .value ("pythonConsole/marginBackgroundColor" , QColor (self .MARGIN_BACKGROUND_COLOR ))))
183
+ self .setMarginsBackgroundColor (QColor (self .settings .value ("pythonConsole/paperBackgroundColor" , QColor (self .BACKGROUND_COLOR ))))
184
184
185
185
# Sets minimum height for input area based of font metric
186
186
self ._setMinimumHeight ()
@@ -314,13 +314,15 @@ def move_cursor_to_start(self):
314
314
self .setCursorPosition (0 , 0 )
315
315
self .ensureCursorVisible ()
316
316
self .ensureLineVisible (0 )
317
+ self .displayPrompt (False )
317
318
318
319
def move_cursor_to_end (self ):
319
320
"""Move cursor to end of text"""
320
321
line , index = self .get_end_pos ()
321
322
self .setCursorPosition (line , index )
322
323
self .ensureCursorVisible ()
323
324
self .ensureLineVisible (line )
325
+ self .displayPrompt (False )
324
326
325
327
def is_cursor_on_last_line (self ):
326
328
"""Return True if cursor is on the last line"""
0 commit comments