Update support for application synchronized updates #459

Closed
opened 6 months ago by dnkl · 3 comments
dnkl commented 6 months ago
Owner

In https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2, it has been concluded that the original DCS sequence(s) used to enable/disable app synch:ed updates are problematic (not all terminals ignore it).

The proposed alternative is a new DEC private mode, 2026. DECSET enables app synch:ed updates, and DECRST disables it.

I suggest we keep the DCS support we already have, at least for now, while still adding support for the new private mode.

In https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2, it has been concluded that the original DCS sequence(s) used to enable/disable app synch:ed updates are problematic (not all terminals ignore it). The proposed alternative is a new DEC private mode, **2026**. `DECSET` enables app synch:ed updates, and `DECRST` disables it. I suggest we keep the DCS support we already have, at least for now, while still adding support for the new private mode.
dnkl added the
enhancement
label 6 months ago
Collaborator

Using a DCS sequence to enable/disable synchronized updates always struck me as odd. A DECSET private mode seems to make way more sense. That way it can be batched with other private mode params and also benefit from XTSAVE and XTRESTORE.

Using a DCS sequence to enable/disable synchronized updates always struck me as odd. A DECSET private mode seems to make way more sense. That way it can be batched with other private mode params and also benefit from XTSAVE and XTRESTORE.
Poster
Owner

I agree. It's also much less parsing needed on the terminal side, which is a nice bonus.

I agree. It's also much less parsing needed on the terminal side, which is a nice bonus.
Poster
Owner

(note: don't forget to update foot-ctlseq.7.scd...)

(note: don't forget to update `foot-ctlseq.7.scd`...)
dnkl referenced this issue from a commit 6 months ago
dnkl closed this issue 6 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.