clear terminal properly on re-run

This commit is contained in:
Matt Parker
2025-08-10 00:50:22 +10:00
parent 02f789179f
commit 7c70448dc3
3 changed files with 9 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ public class SharpIdeProjectModel : ISharpIdeNode
public bool IsRunnable => MsBuildEvaluationProject.Xml.Sdk is "Microsoft.NET.Sdk.BlazorWebAssembly" || MsBuildEvaluationProject.GetPropertyValue("OutputType") is "Exe" or "WinExe";
public bool OpenInRunPanel { get; set; }
public Channel<string>? RunningOutputChannel { get; set; }
public Channel<byte[]>? RunningOutputChannel { get; set; }
public event Func<Task> ProjectStartedRunning = () => Task.CompletedTask;
public void InvokeProjectStartedRunning() => ProjectStartedRunning?.Invoke();
}