Program.cs 351 B

123456789101112
  1. using System;
  2. using Terminal.Gui;
  3. namespace ReactiveExample {
  4. public static class Program {
  5. static void Main (string [] args) {
  6. Application.Init (); // A hacky way to enable instant UI updates.
  7. Application.MainLoop.AddTimeout(TimeSpan.FromMilliseconds(600), a => true);
  8. Application.Run (new LoginView (new LoginViewModel ()));
  9. }
  10. }
  11. }