mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
dcs: only log debug warnings in bsu() and esu() for unhandled params
This commit is contained in:
parent
4068e27938
commit
9026095a24
1 changed files with 6 additions and 4 deletions
10
dcs.c
10
dcs.c
|
|
@ -11,8 +11,9 @@ bsu(struct terminal *term)
|
||||||
{
|
{
|
||||||
/* https://gitlab.com/gnachman/iterm2/-/wikis/synchronized-updates-spec */
|
/* https://gitlab.com/gnachman/iterm2/-/wikis/synchronized-updates-spec */
|
||||||
|
|
||||||
LOG_DBG("untested: BSU - Begin Synchronized Update (params: %.*s)",
|
size_t n = term->vt.dcs.idx;
|
||||||
(int)term->vt.dcs.idx, term->vt.dcs.data);
|
if (unlikely(n > 0))
|
||||||
|
LOG_DBG("BSU with unknown params: %.*s)", (int)n, term->vt.dcs.data);
|
||||||
|
|
||||||
term_enable_app_sync_updates(term);
|
term_enable_app_sync_updates(term);
|
||||||
}
|
}
|
||||||
|
|
@ -22,8 +23,9 @@ esu(struct terminal *term)
|
||||||
{
|
{
|
||||||
/* https://gitlab.com/gnachman/iterm2/-/wikis/synchronized-updates-spec */
|
/* https://gitlab.com/gnachman/iterm2/-/wikis/synchronized-updates-spec */
|
||||||
|
|
||||||
LOG_DBG("untested: ESU - End Synchronized Update (params: %.*s)",
|
size_t n = term->vt.dcs.idx;
|
||||||
(int)term->vt.dcs.idx, term->vt.dcs.data);
|
if (unlikely(n > 0))
|
||||||
|
LOG_DBG("ESU with unknown params: %.*s)", (int)n, term->vt.dcs.data);
|
||||||
|
|
||||||
term_disable_app_sync_updates(term);
|
term_disable_app_sync_updates(term);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue