From 451520af975c978c8ffaa1d9a0959b50c1b8e294 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:54:50 +0200 Subject: Adding upstream version 1.7.7. Signed-off-by: Daniel Baumann --- html/src/components/app.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'html/src/components/app.tsx') diff --git a/html/src/components/app.tsx b/html/src/components/app.tsx index 1ad5fd3..9057727 100644 --- a/html/src/components/app.tsx +++ b/html/src/components/app.tsx @@ -1,9 +1,10 @@ import { h, Component } from 'preact'; -import { ITerminalOptions, ITheme } from 'xterm'; -import { ClientOptions, FlowControl } from './terminal/xterm'; import { Terminal } from './terminal'; +import type { ITerminalOptions, ITheme } from '@xterm/xterm'; +import type { ClientOptions, FlowControl } from './terminal/xterm'; + const protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:'; const path = window.location.pathname.replace(/[/]+$/, ''); const wsUrl = [protocol, '//', window.location.host, path, '/ws', window.location.search].join(''); @@ -16,6 +17,7 @@ const clientOptions = { enableTrzsz: false, enableSixel: false, isWindows: false, + unicodeVersion: '11', } as ClientOptions; const termOptions = { fontSize: 13, -- cgit v1.2.3