1
0
Fork 0

- fixed keymap of messages window when switching focus or opening a toot.

This commit is contained in:
cage 2020-10-02 18:26:59 +02:00
parent 2e48d63eb9
commit d5f0121923
2 changed files with 6 additions and 2 deletions

View File

@ -42,8 +42,10 @@
keybindings:*chat-message-keymap*))
(defun prepare-for-display-status-mode (window)
(when (not (or (display-gemini-text-p window)
(display-chat-p window)))
(setf (keybindings window)
keybindings:*message-keymap*))
keybindings:*message-keymap*)))
(defmethod (setf source-text) (new-text (object message-window))
(setf (slot-value object 'source-text) new-text)

View File

@ -280,6 +280,8 @@ Metadata includes:
(defun thread-open-selected-message ()
"Open selected message"
(setf (windows:keybindings specials:*message-window*)
keybindings:*message-keymap*)
(thread-window:open-message *thread-window*))
(defun thread-mark-delete-selected-message ()