diff --git a/Flashcap-Demo/Program.cs b/Flashcap-Demo/Program.cs index 5aa4902..1efb90d 100644 --- a/Flashcap-Demo/Program.cs +++ b/Flashcap-Demo/Program.cs @@ -1,5 +1,9 @@  using FlashCap; +using Terminal.Gui.App; +using Terminal.Gui.Configuration; +using Terminal.Gui.ViewBase; +using Terminal.Gui.Views; namespace Flashcap_Demo; @@ -8,6 +12,9 @@ internal static class Program public static async Task Main(string[] args) { var backgroundDownload = FFmpeg.DownloadBackground(); + var app = Application.Create(); + app.Run(); + app.Dispose(); var device = new CaptureDevices(); var deviceDescriptors = device.GetDescriptors() .Where(x=>x.Characteristics.Length > 0) @@ -28,6 +35,15 @@ internal static class Program Console.WriteLine("We have both a selected Device and FFmpeg"); + } +} + +internal class MainWindow : Window +{ + public MainWindow() + { + Title = "CapEd"; + } } \ No newline at end of file