Skip to content

Replace the online demo terminal with xterm.js - #203

Open
shuai132 wants to merge 1 commit into
apache:masterfrom
shuai132:feat/demo-xterm-minimal
Open

shuai132 wants to merge 1 commit into
apache:masterfrom
shuai132:feat/demo-xterm-minimal

Conversation

@shuai132

Copy link
Copy Markdown
Contributor

The current terminal has limited clipboard support, and scrolling through its history can also scroll the surrounding page.

Replace it with xterm.js to provide native copy/paste shortcuts, independent scrollback, and automatic resizing. Keep the existing emulator code unchanged by using a small compatibility adapter.

Keep jslinux.js and the legacy terminal unchanged. Add a small Term adapter, self-hosted dependencies, and only the layout rules needed for resizing and contained scrolling.

Signed-off-by: liushuai <11192540+shuai132@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant