Skip to content

1.0.72

Choose a tag to compare

@morapelker morapelker released this 23 Mar 11:31
· 2451 commits to main since this release

What's Changed

Fix Ghostty native overlay rendering by locking zoom to 100% (#158)

  • Block zoom keyboard shortcuts (Cmd+=/+/-) in the main process before-input-event handler — Ghostty's native NSView overlay requires exact 1:1 CSS-to-AppKit point mapping, and any zoom level breaks coordinate sync causing misaligned terminal rendering
  • Remove zoom menu items (zoomIn, zoomOut, resetZoom) from the View menu to prevent zoom via the menu bar
  • Lock webFrame zoom in preload — force zoom factor to 1 and set visual zoom level limits to (1, 1), which also resets zoom for users who accidentally changed it previously
  • Disable NSView autoresizing mask — set autoresizingMask = 0 so the JS layer controls the host view frame exclusively via setHostViewFrame(), preventing the native view from auto-resizing independently of the CSS layout

Files changed

File Change
src/main/index.ts Add before-input-event handler to block Cmd+=/+/- zoom shortcuts
src/main/menu.ts Remove zoomIn, zoomOut, resetZoom roles and separator from View menu
src/native/src/nsview_host.mm Disable autoresizingMask on host view (JS controls frame)
src/preload/index.ts Import webFrame, force zoom factor to 1, lock visual zoom limits

Fix OpenCode security approval and command execution issues (#154)

This PR addresses critical issues with OpenCode's security approval flow and command execution, improving reliability and user experience when working with Claude Code sessions.

  • 🔒 Enhanced security approval flow with timeout detection and comprehensive logging
  • 🔧 Fixed stdin handling for piped commands to prevent hanging processes
  • 🔔 Added user-friendly toast notifications when approval dialogs fail to appear