Console size scan
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using FileTime.App.Core;
|
||||
using FileTime.App.Core.Configuration;
|
||||
using FileTime.ConsoleUI;
|
||||
@@ -52,7 +50,6 @@ try
|
||||
}
|
||||
finally
|
||||
{
|
||||
driver?.Clear();
|
||||
driver?.SetCursorVisible(true);
|
||||
driver?.Dispose();
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ public static class Startup
|
||||
{
|
||||
public static readonly Dictionary<string, Func<IConsoleDriver>> Drivers = new()
|
||||
{
|
||||
["windows"] = () => new XTermDriver(),
|
||||
["xterm"] = () => new XTermDriver(),
|
||||
["dotnet"] = () => new DotnetDriver()
|
||||
};
|
||||
public static IServiceCollection AddConsoleDriver(this IServiceCollection serviceCollection)
|
||||
|
||||
Reference in New Issue
Block a user