A long-lived menu can close: Escape at the top reaches the frontend, Live.Close ends it #30

Merged
nelsong6 merged 1 commit from SHELL-247-loop-close into main 2026-11-01 12:58:37 -08:00
nelsong6 commented 2026-11-01 12:56:36 -08:00 (Migrated from github.com)

RunLoop used to swallow Escape at the top, so a menu built on it could never close. Now Escape at the top reaches the frontend as a cancel, and Live.Close() ends the menu. This is for the popup at menu (Win+backtick, Ctrl+B), which stays open after a background pick and closes when you press Escape.

Work package: https://openproject.romaine.life/wp/SHELL-247

RunLoop used to swallow Escape at the top, so a menu built on it could never close. Now Escape at the top reaches the frontend as a cancel, and `Live.Close()` ends the menu. This is for the popup at menu (Win+backtick, Ctrl+B), which stays open after a background pick and closes when you press Escape. Work package: https://openproject.romaine.life/wp/SHELL-247
Sign in to join this conversation.
No description provided.