From e4726192f1278269cd0b47b02a1b67149d51c60c Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 20 Jan 2018 09:06:05 -0800 Subject: [PATCH] Various fixes - altIsMeta -> macOptionIsMeta - Moved isThirdLevelShift into Terminal class - Moved option check into isThirdLevelShift so it doesn't affect the Windows case and also includes the keypress case - Add public API and typings test - Add option checkbox to demo --- demo/index.html | 3 +++ demo/main.js | 6 ++++- fixtures/typings-test/typings-test.ts | 2 ++ src/Interfaces.ts | 2 +- src/Terminal.test.ts | 8 +++--- src/Terminal.ts | 36 +++++++++++++-------------- typings/xterm.d.ts | 2 +- 7 files changed, 34 insertions(+), 25 deletions(-) diff --git a/demo/index.html b/demo/index.html index 93399f9cd..da348f5e6 100644 --- a/demo/index.html +++ b/demo/index.html @@ -23,6 +23,9 @@

+

+ +