This repository has no description

[papyrus] Add a per-(emulator, font) terminal font size setting master

Terminal panes rendered at a hardcoded 12px with no way to change it. Add a "Font size for selected font" control to the Settings panel, keyed independently per (emulator, font) pair -- each emulator+font combination remembers its own size, mirroring how the terminal font itself is already stored per-emulator. Sizes persist as one JSON map under papyrus:fontSizes, keyed by "backend:font", defaulting to 12 and clamped to 6-40px (settings.ts). The zustand store holds the map; SettingsPanel derives the active pair value and renders a stepper with an editable number that clamps on blur/Enter and re-syncs the field. Terminal.tsx resolves the active pair size and applies it live through a new backend.setFontSize: xterm mutates term.options.fontSize and refits (mirroring setFont/setLineHeight), while ghostty cannot update live so it returns false and the size is folded into the pane remount token. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBWyw3DyRvvNmgJpFZBsC5


Author Yuto Nishida Co-author Claude Opus 4.8 (1M context) Date Commit cffc7637 Parent 153afbf6 Change ID tmrvrops
+328 -15
8 changed files