(id serverID, ch, txt string)
| 358 | } |
| 359 | |
| 360 | func (m *ircModel) pushSysLine(id serverID, ch, txt string) { |
| 361 | if s := m.servers[id]; s != nil { |
| 362 | if s.channelLogs == nil { |
| 363 | s.channelLogs = make(map[string][]string) |
| 364 | } |
| 365 | if ch == "" { |
| 366 | ch = "_sys" |
| 367 | } |
| 368 | s.channelLogs[ch] = append(s.channelLogs[ch], styleDim.Render(txt)) |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | func listLen(l list.Model) int { return len(l.Items()) } |
| 373 |
no outgoing calls
no test coverage detected