Repository navigation
Text size and zoom for the window - #127
Merged
Merged
Conversation
The window zooms as a browser does (50-300%; Ctrl+= / Ctrl+- / Ctrl+0, Ctrl+wheel, the right-click menu and the command palette), saved in the configuration. A Text size & zoom settings page sets the output's point size and four areas: composer text, interface, panels, menus & dialogs. The cells keep a real font size, so glyphs stay crisp and NAWS follows; native views are scaled and the chrome insets grow on the 4 px grid. The terminal lists none of it: its text is the emulator's. Help says to use the terminal's own zoom. --emulated keeps the zoom, with no page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7TCdBPKDhhi63cHux3
HarryCordewener
marked this pull request as ready for review
November 10, 2026 23:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Grave · project thread
What this does
Users can now set font sizes per area and zoom the window the way a browser does.
config.json(display.zoom).BuiltInSettings.TextSize, ⌃P ▸ Text size & zoom…): output points, plus four areas: composer text, interface (header, sidebar, tabs, status row, toasts), panels (vitals, who-here, quick bar, map) and menus & dialogs.NativeScale.Cover/Wrap). Chrome insets grow on the 4 px grid and are exact at 100%, so nothing moves at the default sizes. Hairlines stay one device pixel./help▸ Text size points to the terminal's own zoom.--emulatedkeeps the zoom and has no page.Screenshots: https://claude.ai/artifact/NkdNQt9s44VWG5uy7ZBxsU
Tests
DisplaySettingsTests(Core),TextSizeTests(Tui),TextScaleTests(Avalonia).TerminalZoomTestswas updated for the stepped zoom.TextSize = null, the same way it handles the other window-only hosts.AReadOnlyCacheDirectory_DegradesToMemoryOnly, which fails only when tests run as root.Not done
A dialog or floating window that is open during a zoom change keeps its old scale until it is reopened.
Generated by Claude Code