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

Method SetShowStatusBar

list/list.go:246–249  ·  view source on GitHub ↗

SetShowStatusBar shows or hides the view that displays metadata about the list, such as item counts.

(v bool)

Source from the content-addressed store, hash-verified

244// SetShowStatusBar shows or hides the view that displays metadata about the
245// list, such as item counts.
246func (m *Model) SetShowStatusBar(v bool) {
247 m.showStatusBar = v
248 m.updatePagination()
249}
250
251// ShowStatusBar returns whether or not the status bar is set to be rendered.
252func (m Model) ShowStatusBar() bool {

Callers

nothing calls this directly

Calls 1

updatePaginationMethod · 0.95

Tested by

no test coverage detected