MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / String

Method String

examples/cellbuffer/main.go:118–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116}
117
118func (c cellbuffer) String() string {
119 var b strings.Builder
120 for i := range c.cells {
121 if i > 0 && i%c.stride == 0 && i < len(c.cells)-1 {
122 b.WriteRune('\n')
123 }
124 b.WriteString(c.cells[i])
125 }
126 return b.String()
127}
128
129type frameMsg struct{}
130

Callers 9

UpdateMethod · 0.45
ViewMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
newDialogMethod · 0.45
UpdateMethod · 0.45
ViewMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected