gui-cs / Terminal.Gui

Cross Platform Terminal UI toolkit for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

BDisp opened this issue · comments

Copy/Paste this this code on a scenario and the screen isn't cleaning.

		public override void Init (ColorScheme colorScheme)
		{
			Application.Init ();

			var button = new Button ("Ok");
			button.Clicked += () => Application.RequestStop ();
			var dialog = new Dialog ("Testing UpdateOffScreen method.", button);
			Application.Run (dialog);

			Application.Shutdown ();
		}

		public override void Run ()
		{
		}

With all the other drivers work as expected.