wissh-nd / wissh

MIT License
0 stars 1 forks source link

Fix terminal rendering on mobile #4

Open octoclonius opened 3 months ago

octoclonius commented 3 months ago

The terminal on mobile devices seems to have dimensions that do not match the pty's dimensions, or something. Disabling the xterm WebGL addon fixes the issue, but ideally there would be a way to enable the addon if it can be loaded and properly fit the pty output to the mobile terminal's shape.

octoclonius commented 2 months ago

There is also a canvas xterm addon that can be used as a fallback if the webgl addon fails. Both do not work on mobile. For now, using the default DOM renderer works on desktop and mobile, so until the performance of webgl is needed, this issue will likely remain on the backburner.