File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -462,17 +462,18 @@ public void DrawMenu(Menu previousMenu, bool menuSelect)
462
462
{
463
463
IConsole console = Singleton . _console ;
464
464
465
+ if ( menuSelect )
466
+ {
467
+ console . CursorVisible = false ;
468
+ SaveCursor ( ) ;
469
+ }
470
+
465
471
// Move cursor to the start of the first line after our input.
466
472
var bufferEndPoint = Singleton . ConvertOffsetToPoint ( Singleton . _buffer . Length ) ;
467
473
console . SetCursorPosition ( bufferEndPoint . X , bufferEndPoint . Y ) ;
468
474
AdjustForPossibleScroll ( 1 ) ;
469
475
MoveCursorDown ( 1 ) ;
470
476
this . Top = bufferEndPoint . Y + 1 ;
471
- if ( menuSelect )
472
- {
473
- console . CursorVisible = false ;
474
- SaveCursor ( ) ;
475
- }
476
477
477
478
var bufferWidth = console . BufferWidth ;
478
479
var columnWidth = this . ColumnWidth ;
You can’t perform that action at this time.
0 commit comments