From 38461eef6f3b612277bf48e49b9cc6c3b79e25bb Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 30 Jun 2024 19:44:17 +0200 Subject: csi: in-band window resize notifications, private mode 2048 This implements https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83, in-band window resize notifications. When user enables private mode 2048 (in-band resize notifications), *always* send current size, even if the mode is already active. This ensures applications can rely on getting a reply from the terminal. --- render.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render.c') diff --git a/render.c b/render.c index 53c8c90e..ef135b53 100644 --- a/render.c +++ b/render.c @@ -4072,6 +4072,8 @@ tiocswinsz(struct terminal *term) { LOG_ERRNO("TIOCSWINSZ"); } + + term_send_size_notification(term); } } -- cgit v1.3