Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use XTerm for program output #303

Merged
merged 38 commits into from
Jan 17, 2024
Merged

Use XTerm for program output #303

merged 38 commits into from
Jan 17, 2024

Conversation

x1unix
Copy link
Owner

@x1unix x1unix commented Jan 17, 2024

Description

This PR replaces the old clunky stdout/stderr rendering implementation with xterm.js library.
This library supports terminal sequences and inline image rendering as well.

This library doesn't support text selection on mobile devices, so additional Copy button was added to mitigate the issue.

Closes: #288
Closes: #267

Screenshots

image

Image and colors output

image

New terminal settings window with multiple backends available

ios demo

Copy button to workaround xterm.js selection issues*

@x1unix x1unix added this to the 1.15.0 milestone Jan 17, 2024
@x1unix x1unix merged commit 8e24e69 into master Jan 17, 2024
1 check passed
@x1unix x1unix deleted the feat/xterm branch January 17, 2024 09:38
@gedw99
Copy link

gedw99 commented Jan 19, 2024

Thanks @x1unix

I was also blocked by those issues . Much appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Add clear screen support Double new lines not being displayed correctly in WebAssembly as module
2 participants