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

Function ToggleColumn

viewer/tableutil.go:231–237  ·  view source on GitHub ↗
(m *TuiModel)

Source from the content-addressed store, hash-verified

229}
230
231func ToggleColumn(m *TuiModel) {
232 if m.UI.ExpandColumn > -1 {
233 m.UI.ExpandColumn = -1
234 } else {
235 m.UI.ExpandColumn = m.GetColumn()
236 }
237}

Callers 1

initFunction · 0.85

Calls 1

GetColumnMethod · 0.80

Tested by

no test coverage detected