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

This commit is contained in:
BDisp
2024-06-03 01:52:07 +01:00
parent f749eef8e9
commit 7d8c5a2e54

View File

@@ -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;