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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user