Commit 6211878c authored by Christian Persch's avatar Christian Persch

emulation: Add sequence and no-op handler for synchronous update

#15
parent 4bdcd7a3
......@@ -315,6 +315,7 @@ _VTE_NOP(WYDHL_BH) /* single width double height line: bottom half */
_VTE_NOP(WYDHL_TH) /* single width double height line: top half */
_VTE_NOP(WYLSFNT) /* load soft font */
_VTE_NOP(WYSCRATE) /* set smooth scroll rate */
_VTE_NOP(XDGSYNC) /* synchronous update */
_VTE_NOP(XTERM_IHMT) /* xterm initiate highlight mouse tracking */
_VTE_NOP(XTERM_MLHP) /* xterm memory lock hp bugfix */
_VTE_NOP(XTERM_MUHP) /* xterm memory unlock hp bugfix */
......
......@@ -30,6 +30,7 @@ _VTE_NOQ(XTERM_RQTCAP, DCS, 'q', NONE, 1, PLUS ) /* xterm req
_VTE_NOQ(DECLBAN, DCS, 'r', NONE, 0, NONE ) /* load-banner-message */
_VTE_SEQ(DECRQSS, DCS, 'r', NONE, 1, CASH ) /* request-selection-or-setting */
_VTE_SEQ(DECRQTSR, DCS, 's', NONE, 1, CASH ) /* request-terminal-state-report */
_VTE_SEQ(XDGSYNC, DCS, 's', EQUAL, 0, NONE ) /* synchronous update */
_VTE_NOQ(DECRSPS, DCS, 't', NONE, 1, CASH ) /* restore-presentation-state */
_VTE_NOQ(DECAUPSS, DCS, 'u', NONE, 1, BANG ) /* assign-user-preferred-supplemental-sets */
_VTE_NOQ(DECLANS, DCS, 'v', NONE, 0, NONE ) /* load-answerback-message */
......
......@@ -8077,6 +8077,32 @@ Terminal::WYLSFNT(vte::parser::Sequence const& seq)
*/
}
void
Terminal::XDGSYNC(vte::parser::Sequence const& seq)
{
/*
* XDGSYNC - synchronous update
* Content received between BSU and ESU will be committed
* atomically on ESU. This is to avoid half-drawn screen
* content.
* The terminal may ignore this, or apply a timeout, or
* terminate the synchronous update prematurely for any
* reason.
*
* Arguments:
* args[0]:
* 1: start (begin synchronous update, BSU)
* 2: end (end synchronous update, ESU)
*
* Defaults:
* args[0]: no defaults
*
* References: https://gitlab.com/gnachman/iterm2/wikis/synchronized-updates-spec
*/
/* TODO: implement this! https://gitlab.gnome.org/GNOME/vte/issues/15 */
}
void
Terminal::XTERM_IHMT(vte::parser::Sequence const& seq)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment