* - Force GC.Collect() on closing of terminal; - Prepare MainPage, MainViewModel, TabBar, TerminalBridge for disposal. * Request _dispatcherJobs Task cancellation ASAP on terminal closing.
13 lines
320 B
C#
13 lines
320 B
C#
using System;
|
|
|
|
namespace FluentTerminal.App.Services
|
|
{
|
|
public interface IKeyboardCommandService
|
|
{
|
|
void RegisterCommandHandler(string command, Action handler);
|
|
|
|
void SendCommand(string command);
|
|
void DeregisterCommandHandler(string command);
|
|
void ClearCommandHandlers();
|
|
}
|
|
} |