type / to open command palette; fix missing paren in process-key-event

When / is typed on an empty input with no dialog open, open the
command palette with "/" pre-filled in the filter instead of
inserting / into the text buffer. Ctrl+P still opens the palette
without a pre-filled filter.
This commit is contained in:
2026-05-20 14:57:26 -04:00
parent e763768122
commit a64532bc96
2 changed files with 268 additions and 259 deletions

View File

@@ -24,8 +24,8 @@ All state mutation flows through event handlers in the controller.
:queue-event :drain-queue :init-state
:view-status :view-chat :view-input :redraw
:input-panel-top
:on-key :on-daemon-msg :send-daemon
:connect-daemon :disconnect-daemon
:on-key :process-key-event :input-text :on-daemon-msg :send-daemon
:connect-daemon :disconnect-daemon
:*theme* :theme-color :theme-switch))
(in-package :passepartout.channel-tui)