Yukkuricraft / YakumoDash

Webtool for managing all Yukkuricraft software infrastructure
0 stars 0 forks source link

Fix xterm.js Resizing #15

Open remiscarlet opened 1 year ago

remiscarlet commented 1 year ago

I think row/col is set on xterm windows at instantiation. Need to figure out dynamic resizing.

This particularly affects linebreaks/wordwrapping. Default is currently set to 80 or 120 cols long so any line is wordwrapped then regardless of actual space available.

This may potentially also affect when window size is too small for configured col size.

remiscarlet commented 1 year ago

Teehee this.terminal.resize(cols, rows). Looks like might have to custom implement logic for calculating row/cols though.