Experimental modal text editor built for extensibility and flexibility

feat(runtime): incremental live search #46

Open amartin.beer
targeting push-uopxpnpuutzs from push-xmpltqpurkvw
Open opened by and assigned to amartin.beer
targeting push-uopxpnpuutzs from push-xmpltqpurkvw

The prompt source protocol gains two optional hooks: :on-input (called with the input after type-char/backspace/delete-forward mutate it) and :on-cancel (called on Escape). The search source uses them: typing in / or ? live-updates the match spans behind the prompt (preview), while Enter commits (run) and Escape restores the pre-prompt search state (cancel) via a :saved snapshot taken when the prompt opens.

Commits 0