mirror of https://github.com/garrytan/gstack.git
The Side Panel terminal renders at a fixed 13px. This adds an xs/sm/md/lg/xl picker in the toolbar (A + dropdown, beside Restart) so users can size the text to their eyes. - sm = 13px is the unchanged default; the others step around it (xs 11, md 15, lg 17, xl 20). Nothing changes until you pick a size. - Persisted in chrome.storage.local, restored on load, applied to the live xterm. - Resize reflows correctly: xterm re-measures the character cell on the next render frame, so the change waits two animation frames before fitAddon.fit() and then sends the new cols/rows to the PTY. Fitting in the same tick reads the old cell and clips the grid until a close/reopen — this avoids that. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GKj8Nr8T4GvryTcWBJRMyC |
||
|---|---|---|
| .. | ||
| icons | ||
| background.js | ||
| content.css | ||
| content.js | ||
| inspector.css | ||
| inspector.js | ||
| manifest.json | ||
| popup.html | ||
| popup.js | ||
| sidepanel-terminal.js | ||
| sidepanel.css | ||
| sidepanel.html | ||
| sidepanel.js | ||