Browse Source

Fixes #3527. v1 CursesDriver isn't updating the buffer on the UpdateOffScreen method.

BDisp 1 year ago
parent
commit
7d8c5a2e54
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

+ 3 - 3
Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

@@ -752,9 +752,9 @@ namespace Terminal.Gui {
 			contents = new int [Rows, Cols, 3];
 			for (int row = 0; row < Rows; row++) {
 				for (int col = 0; col < Cols; col++) {
-					//Curses.move (row, col);
-					//Curses.attrset (Colors.TopLevel.Normal);
-					//Curses.addch ((int)(uint)' ');
+					Curses.move (row, col);
+					Curses.attrset (Colors.TopLevel.Normal);
+					Curses.addch ((int)(uint)' ');
 					contents [row, col, 0] = ' ';
 					contents [row, col, 1] = Colors.TopLevel.Normal;
 					contents [row, col, 2] = 0;