Remove Terminal dependency from InputHandler 🎉

This commit is contained in:
Daniel Imms
2020-04-26 06:46:37 -07:00
parent dbced5c1a4
commit ba40fe4ff4
5 changed files with 27 additions and 75 deletions
-9
View File
@@ -15,15 +15,6 @@ export type CustomKeyEventHandler = (event: KeyboardEvent) => boolean;
export type LineData = CharData[];
/**
* This interface encapsulates everything needed from the Terminal by the
* InputHandler. This cleanly separates the large amount of methods needed by
* InputHandler cleanly from the ITerminal interface.
*/
export interface IInputHandlingTerminal {
viewport: IViewport;
}
export interface ICompositionHelper {
compositionstart(): void;
compositionupdate(ev: CompositionEvent): void;