MCPcopy Create free account
hub / github.com/babycommando/nightride-cli / updateRightPane

Method updateRightPane

zuse.go:470–478  ·  view source on GitHub ↗

* RIGHT DISPATCH */

(key tea.KeyMsg)

Source from the content-addressed store, hash-verified

468/* RIGHT DISPATCH */
469
470func (m *ircModel) updateRightPane(key tea.KeyMsg) (tea.Model, tea.Cmd) {
471 switch m.mode {
472 case modeForm:
473 return m.updateForm(key)
474 case modeChat:
475 return m.updateChat(key)
476 }
477 return m, nil
478}
479
480/* FORM */
481

Callers 1

UpdateMethod · 0.95

Calls 2

updateFormMethod · 0.95
updateChatMethod · 0.95

Tested by

no test coverage detected