MCPcopy
hub / github.com/docker/docker-agent / showToggle

Method showToggle

pkg/tui/page/chat/chat.go:78–80  ·  view source on GitHub ↗

showToggle returns true if a toggle glyph should be shown.

()

Source from the content-addressed store, hash-verified

76
77// showToggle returns true if a toggle glyph should be shown.
78func (l sidebarLayout) showToggle() bool {
79 return l.mode == sidebarVertical || l.mode == sidebarCollapsed
80}
81
82// SidebarSettings holds the sidebar display settings that should persist across session changes.
83type SidebarSettings struct {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected