MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / isBackKey

Function isBackKey

internal/ui/plugins/ansible/plugin.go:2803–2809  ·  view source on GitHub ↗
(event *tcell.EventKey)

Source from the content-addressed store, hash-verified

2801}
2802
2803func isBackKey(event *tcell.EventKey) bool {
2804 if event == nil {
2805 return false
2806 }
2807
2808 return event.Key() == tcell.KeyEsc || event.Key() == tcell.KeyBackspace || event.Key() == tcell.KeyBackspace2
2809}
2810
2811func defaultHomeDir() string {
2812 home, err := os.UserHomeDir()

Callers 4

showMainMenuMethod · 0.70
showSetupAssistantMethod · 0.70
showOutputMethod · 0.70
showLiveOutputModalMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected