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

Synchronized Output (DEC private mode 2026) support #1312

Open
l2dy opened this issue Mar 4, 2024 · 0 comments
Open

Synchronized Output (DEC private mode 2026) support #1312

l2dy opened this issue Mar 4, 2024 · 0 comments

Comments

@l2dy
Copy link

l2dy commented Mar 4, 2024

Synchronized output is a terminal extension spec that has been implemented in several apps including tmux, neovim and kakoune.

"The goal of synchronized updates is to avoid showing a half-drawn screen, such as while paging through a document in an editor.

A new control sequence is proposed that indicates the beginning and end of a update. No new content should be rendered by the terminal emulator until the update ends, at which point any changes made during the update should be applied atomically.

The purpose of this sequence is to provide a hint to the terminal emulator about how to draw atomically. If it turns out to be too difficult to do under some particular input, the hint can be safely ignored."

AFAIK, mosh-server is in an advantageous position to respond to ?2026-capable apps and could produce more efficient diffs as a result.

Original proposal: https://gitlab.com/gnachman/iterm2/-/wikis/synchronized-updates-spec
Living document by a third party: https://gist.github.com/christianparpart/d8a62cc1ab659194337d73e399004036
Spec discussion: https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2

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

No branches or pull requests

1 participant