reapplyKeyboardEnhancements forwards the cached keyboard enhancements message to the active chat page and editor so new/replaced instances pick up the terminal's key disambiguation support.
()
| 502 | // to the active chat page and editor so new/replaced instances pick up the |
| 503 | // terminal's key disambiguation support. |
| 504 | func (m *appModel) reapplyKeyboardEnhancements() { |
| 505 | if m.keyboardEnhancements == nil { |
| 506 | return |
| 507 | } |
| 508 | _ = m.updateChatCmd(*m.keyboardEnhancements) |
| 509 | _ = m.updateEditorCmd(*m.keyboardEnhancements) |
| 510 | } |
| 511 | |
| 512 | func (m *appModel) commandCategories() []commands.Category { |
| 513 | categories := m.buildCommandCategories(m.ctx(), m) |
no test coverage detected