mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
15 lines
408 B
C#
15 lines
408 B
C#
using System.Reactive.Concurrency;
|
|
using ReactiveUI;
|
|
using Terminal.Gui;
|
|
|
|
namespace ReactiveExample {
|
|
public static class Program {
|
|
static void Main (string [] args) {
|
|
Application.Init ();
|
|
RxApp.MainThreadScheduler = TerminalScheduler.Default;
|
|
RxApp.TaskpoolScheduler = TaskPoolScheduler.Default;
|
|
Application.Run (new LoginView (new LoginViewModel ()));
|
|
Application.Shutdown ();
|
|
}
|
|
}
|
|
} |