Yukkuricraft / YakumoDash

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

Fix xterm.js Resizing #15

Closed remiscarlet closed 2 months ago

remiscarlet commented 2 years 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 2 years ago

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

remiscarlet commented 2 months ago

Handled with xterm's addon-fit