()
| 1109 | } |
| 1110 | |
| 1111 | func (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 | |
| 1125 | func (m *ircModel) blurRight() { |
| 1126 | switch m.mode { |
no outgoing calls
no test coverage detected