Browse Source

Prevents a Process breaks rendering on Linux. (#1506)

BDisp 3 years ago
parent
commit
ce99df4629
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

+ 2 - 0
Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs

@@ -84,6 +84,8 @@ namespace Terminal.Gui {
 
 
 		public override void Refresh ()
 		public override void Refresh ()
 		{
 		{
+			Curses.raw ();
+			Curses.noecho ();
 			Curses.refresh ();
 			Curses.refresh ();
 			if (Curses.CheckWinChange ()) {
 			if (Curses.CheckWinChange ()) {
 				Clip = new Rect (0, 0, Cols, Rows);
 				Clip = new Rect (0, 0, Cols, Rows);