Parcourir la source

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

BDisp il y a 3 ans
Parent
commit
ce99df4629
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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 ()
 		{
+			Curses.raw ();
+			Curses.noecho ();
 			Curses.refresh ();
 			if (Curses.CheckWinChange ()) {
 				Clip = new Rect (0, 0, Cols, Rows);