Support for Extended Window Manager Hints
See original GitHub issueWhen using xterm.js for Windows SAC sessions, the input line stays fixed in place without adjusting to the size of the terminal (screenshot below). This seems to be because xtermjs doesn’t seem to support a Esc + [18t
control sequence, which is emitted by SAC to determine the screen size. Order of events is as follows:
- SAC emits
ESC + [18t
(\x1b[18t
) - The terminal emulator is expected to reply with
ESC + [8;RRR;CCCt
(\x1b[8;RRR;CCCt
)- RRR is the number of rows, and CCC is the number of columns
- This must be sent by the terminal emulator within 3 seconds
Looks like in order for xtermjs to support Windows SAC resizing, there will need to be support added for the ESC + [18t
control sequence. Can this be added?
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (12 by maintainers)
Top Results From Across the Web
Extended Window Manager Hints
This spec defines interactions between window managers, applications, and the utilities that form part of a desktop environment.
Read more >Extended Window Manager Hints - Wikipedia
Extended Window Manager Hints, a.k.a. NetWM, is an X Window System standard for the communication between window managers and applications.
Read more >Extended Window Manager Hints Support For FVWM
With these, FVWM can handle Extended Window Manager Hints from the freedesktop group. This allows, for example, running FVWM with KDE version >=2...
Read more >Extended Window Manager Hints - GNOME Developer Center
This spec defines interactions between window managers, compositing managers, applications, and the utilities that form part of a desktop ...
Read more >JWM EWMH Support - joewing.net
This is a list of properties that JWM supports from the Extended Window Manager Hints (EWMH). Root Window Properties. Atom, Supported? Notes. _NET_SUPPORTED ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe this can be done by executing the resize command and using the
-s
switch. Based upon my review of the resize code, that should issue a [18t as part of what the docs describe as Sun console escape sequences. This is also described in the Miscellaneous section of the doc.The idea being, as Alfred describes above:
resize -s
emits ESC + [18tThe results should be visible via the response from
resize
and via astty -a
command run before and after.@asinn826 Opened a PR (#2393) for this. There are several things to fiddle out before we can support it in a clean way. See PR description for more details.