MCPcopy Index your code
hub / github.com/babycommando/nightride-cli / pushSysLine

Method pushSysLine

zuse.go:360–370  ·  view source on GitHub ↗
(id serverID, ch, txt string)

Source from the content-addressed store, hash-verified

358}
359
360func (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
372func listLen(l list.Model) int { return len(l.Items()) }
373

Callers 4

UpdateMethod · 0.95
seedRektMethod · 0.95
updateChatMethod · 0.95
handleSlashMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected