MCPcopy Create free account
hub / github.com/SamNet-dev/snix / nextTab

Function nextTab

tui/app.go:238–245  ·  view source on GitHub ↗
(t tab)

Source from the content-addressed store, hash-verified

236}
237
238func nextTab(t tab) tab {
239 for i, x := range tabOrder {
240 if x == t {
241 return tabOrder[(i+1)%len(tabOrder)]
242 }
243 }
244 return tabHome
245}
246
247func prevTab(t tab) tab {
248 for i, x := range tabOrder {

Callers 1

UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected