MCPcopy
hub / github.com/docker/compose / clearNavigationMenu

Method clearNavigationMenu

cmd/formatter/shortcut.go:193–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191}
192
193func (lk *LogKeyboard) clearNavigationMenu() {
194 height := goterm.Height()
195 carriageReturn()
196 saveCursor()
197
198 // clearLine()
199 for range height {
200 moveCursorDown(1)
201 clearLine()
202 }
203 restoreCursor()
204}
205
206func (lk *LogKeyboard) openDockerDesktop(ctx context.Context, project *types.Project) {
207 if !lk.IsDockerDesktopActive {

Callers 2

printNavigationMenuMethod · 0.95
HandleKeyEventsMethod · 0.95

Calls 5

carriageReturnFunction · 0.85
saveCursorFunction · 0.85
moveCursorDownFunction · 0.85
clearLineFunction · 0.85
restoreCursorFunction · 0.85

Tested by

no test coverage detected