Skip to content
Source
Sign inSign up
pingdotgg/t3code

Fix Windows keybindings for font size: use Ctrl+ to increase #786

MergedBashamega(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/786/headmerged by juliusmarminge View on GitHub

What Changed

This overrides the zooming shortcut to be CTRL + = or CTRL + +

Why

On Windows, it is more common to zoom in with CTRL + Plus, not CTRL + Minus. Also, it was inconsistent with the zoom out

UI Changes

This is a key shortcut change on Windows

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

https://github.com/pingdotgg/t3code/issues/254#issuecomment-4024952651

Note

Fix Ctrl+= keybinding for font size zoom in on Windows

Replaces the implicit Electron viewMenu role with a custom View submenu in main.ts. Adds an explicit zoomIn entry with CmdOrCtrl+= and a hidden duplicate with CmdOrCtrl+Plus to ensure both key combinations work on Windows, where + requires Shift and the default binding was unreliable.

Macroscope summarized 1f287e4.
    1. Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro

      Run ID: e0c2c272-1673-4cb8-8822-414e0866fca6

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests
      • Post copyable unit tests in a comment

      Tip

      Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Share your feedback on Discord.


      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands and usage tips.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    3. juliusmarminge approved these changes

    4. juliusmarminge merged thisdfd41da

    5. juliusmarminge closed this

Sign in to join this conversation.