Skip to content

Best way to save data #634

Closed Answered by Tyriar
bajrangCoder asked this question in Q&A
Sep 29, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

You can feed it into xterm.js (or xterm-headless on node) and then use the serialize addon. I think that would give you what you're after.

This is how terminal restoration works in vscode when reopening windows.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@bajrangCoder
Comment options

@Tyriar
Comment options

Answer selected by bajrangCoder
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants