Skip to content

Commit

Permalink
Fixes #3527. v1 CursesDriver isn't updating the buffer on the UpdateO…
Browse files Browse the repository at this point in the history
…ffScreen method.
  • Loading branch information
BDisp committed Jun 3, 2024
1 parent f749eef commit 7d8c5a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,9 @@ public override void UpdateOffScreen ()
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;
Expand Down

0 comments on commit 7d8c5a2

Please sign in to comment.