rpwoodbu / mosh-chrome

Mosh for Chrome
GNU General Public License v3.0
371 stars 59 forks source link

Window size not saving #180

Open nriley opened 6 years ago

nriley commented 6 years ago

The standalone Windows build of mosh for Chrome is not saving my window size. I have tried multiple times resizing and then closing or exiting the session, and the window ends up smaller than I want when I reopen mosh. The terminal also appears not to respond to the xterm window size control sequence (<CSI>8;<height>;<width>t) so I can't control it from within the session either.

vapier commented 6 years ago

window manipulation operations are not supported currently in hterm. i've filed https://crbug.com/840217 to track.

rpwoodbu commented 6 years ago

I had observed this as well. I am surprised I hadn't opened an issue for this. But it may be because there might not be much I can do about it. This is a feature provided by the browser. The NW.js environment (which bundles Chromium) seems to be defeating that feature in some way (perhaps by not persisting the appropriate browser state). It is possible that updating to a new NW.js will fix it.