Change the text size with Ctrl and the plus and minus keys - #21
Open
meirdick wants to merge 2 commits into
Open
Conversation
Omawrite followed the desktop text size, so changing the writing size meant leaving the app. Ctrl+= and Ctrl+- now step the text along the zoom ladder a browser uses, Ctrl+0 returns to the default, and Ctrl and the wheel does the same as it scrolls. The zoom multiplies the desktop text size rather than replacing it, and is remembered between sessions.
The save and open icons stayed 16px while the status text beside them followed the text size, which the zoom shortcuts make easy to notice. The icons are drawn on a 16px grid, so the canvas now paints at the scaled size and the hit area grows with it.
This was referenced Aug 21, 2026
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.
Omawrite follows the desktop text size, so today the only way to make the
writing bigger or smaller is to change it for the whole desktop. This adds
the shortcuts most apps have:
Ctrl+=makes the text bigger,Ctrl+-makes it smaller,Ctrl+0puts itback to the default.
Ctrl++works too, for layouts that reach plus throughShift.
Ctrland the mouse wheel does the same. A touchpad pinch arrives the sameway, so the deltas add up to a notch before the zoom moves.
The zoom multiplies the desktop text size rather than replacing it, so
omarchy display text sizestill works and still re-flows without a restart.The chosen size is saved and restored on the next start. The footer shows the
current size while you change it.
The second commit fixes something the shortcuts make easy to see: the save and
open icons in the footer stayed 16px while the text beside them scaled. They
now scale along with it.
Tests cover the zoom steps, the saved size, and the editor and footer sizes at
a given text scale.
bin/testpasses, and I ran the built app on Omarchy tocheck the shortcuts, the wheel, and the footer.