MCPcopy
hub / github.com/mathaou/termdbms / SetShowTitle

Method SetShowTitle

list/list.go:215–218  ·  view source on GitHub ↗

SetShowTitle shows or hides the title bar.

(v bool)

Source from the content-addressed store, hash-verified

213
214// SetShowTitle shows or hides the title bar.
215func (m *Model) SetShowTitle(v bool) {
216 m.showTitle = v
217 m.updatePagination()
218}
219
220// ShowTitle returns whether or not the title bar is set to be rendered.
221func (m Model) ShowTitle() bool {

Callers 1

GetNewModelFunction · 0.80

Calls 1

updatePaginationMethod · 0.95

Tested by

no test coverage detected