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

Method focusRight

zuse.go:1111–1123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1109}
1110
1111func (m *ircModel) focusRight() {
1112 switch m.mode {
1113 case modeForm:
1114 for i := range m.formInputs {
1115 m.formInputs[i].Blur()
1116 }
1117 if m.formSel != fieldSubmit {
1118 m.formInputs[m.formSel].Focus()
1119 }
1120 case modeChat:
1121 m.chatInput.Focus()
1122 }
1123}
1124
1125func (m *ircModel) blurRight() {
1126 switch m.mode {

Callers 3

UpdateMethod · 0.95
updateServersPaneMethod · 0.95
updateFormMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected