mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-19 06:46:24 -04:00
csi: implement private modes 2034 + 2038
2034 enables window resize notifications, with the notifications being in pixels. 2038 does the same, but in characters instead of pixels. See https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83 for specification
This commit is contained in:
parent
cbe399ecd9
commit
774c60602b
6 changed files with 119 additions and 30 deletions
5
render.c
5
render.c
|
|
@ -3866,6 +3866,11 @@ tiocswinsz(struct terminal *term)
|
|||
{
|
||||
LOG_ERRNO("TIOCSWINSZ");
|
||||
}
|
||||
|
||||
if (term->size_notifications_chars)
|
||||
term_report_window_size_chars(term);
|
||||
if (term->size_notifications_pixels)
|
||||
term_report_window_size_pixels(term, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue