microsoft / microsoft/terminal
Problems with font "zooming"
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
The first problem is that there's no way to reset it to "100%" -- Frankly, my suggestion is that you should support hotkeys like browsers do:
{Ctrl}+{=}to zoom in{Ctrl}+{-}to zoom out{Ctrl}+{0}to reset it to normal...
The second problem is that zooming resizes the window -- which is particularly frustrating when scrolling sends parts of the window off-screen, even though I started out snapped to an edge or corner.
When the window is snapped to the screen edges, the system sizes the window to the screen size, rather than a multiple of the CHARACTER size -- so if the font isn't exactly the perfect size for that, it's forced. The problem is that if I zoom in, and zoom back out ... it doesn't go back to the original size, but instead to the nearest size based on the font!
So if I start out at this size (note the awkward space between the blue timestamp and the scroll bar due to snapping the window):

When I zoom in and zoom back out (or vice-versa) it ends up with that awkward space on the outside of the window:

Recorded in action: https://i.imgur.com/nux7AqY.gifv
I hoped that unchecking the "Let system position window" in the layout would stop it from doing that, but no such luck. Can we get an extra option in there to control whether zooming resizes the window, or changes the number of characters in the window instead?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the Windows Terminal zoom behavior, then trace the zoom hotkeys, font sizing, and window-layout handling, including the “Let system position window” setting. Done means reset-to-100% behavior and zoom resizing are controlled consistently with the requested options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100