summaryrefslogtreecommitdiffstats
path: root/html/src/components/app.tsx
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:51 +0000
commitd83891d2823707ebcdd5b6ce505983c8cc305b0d (patch)
tree91be853b67b04aea4f09fb2b1063544865b79211 /html/src/components/app.tsx
parentReleasing progress-linux version 1.7.4-1~progress7.99u1. (diff)
downloadttyd-d83891d2823707ebcdd5b6ce505983c8cc305b0d.tar.xz
ttyd-d83891d2823707ebcdd5b6ce505983c8cc305b0d.zip
Merging upstream version 1.7.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'html/src/components/app.tsx')
-rw-r--r--html/src/components/app.tsx6
1 files changed, 4 insertions, 2 deletions
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,