-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Details
- Browser and browser version: WebKit
- OS version: Linux
- xterm.js version: 5.3.0 (fitAddon: 0.8.0)
Steps to reproduce
let fitAddon = new FitAddon();
term.loadAddon(fitAddon);
fitAddon.fit();
The resized dimension do not take all the available space, instead, I need to use this code to use all the available space:
let fitAddon = new FitAddon();
term.loadAddon(fitAddon);
let proposedDimensions = fitAddon.proposeDimensions();
term.resize(proposedDimensions.cols + 1, proposedDimensions.rows + 1);
ajmeese7 and wzdong26