Repository navigation
1.0.72
What's Changed
Fix Ghostty native overlay rendering by locking zoom to 100% (#158)
- Block zoom keyboard shortcuts (
Cmd+=/+/-) in the main processbefore-input-eventhandler — 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 = 0so the JS layer controls the host view frame exclusively viasetHostViewFrame(), 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