From fa8b0cbd80c5473e648c5fa1a71b0f74537d1af3 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 17 Apr 2020 23:03:20 +0200 Subject: csi: implement CSI Ps ; Ps ; Ps t reporting escape sequences A lot of the escape sequences on the "CSI Ps ; Ps ; Ps t" form are expected to return a reply. Thus, not having these implemented means we will hang if the client sends these escapes. Not all of these escapes can be meaningfully implemented on Wayland, and thus this implementation is best effort. We now support the following escapes: * 11t - report if window is iconified (always replies "no") * 13t - report window position (always replies 0,0) * 13;2t - report text area position (replies with margins, since we cannot get the window's position) * 14t - report text area size, in pixels * 14;2t - report window size, in pixels * 15t - report screen size, in pixels * 16t - report cell size, in pixels * 18t - report text area size, in cells * 19t - report screen size, in cells --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 13805227..f495f562 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ * **title** option to `footrc`, that sets the initial window title. * `--title` command line option, that sets the initial window title. * Right mouse button extends the current selection. +* Implemented 'CSI Ps ; Ps ; Ps t' escape sequences for the following + parameters: `11t`, `13t`, `14;2t`, `15t`, `19t`. ### Changed -- cgit v1.3