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

Function isBackKey

internal/plugins/command-runner/ui.go:26–32  ·  view source on GitHub ↗
(event *tcell.EventKey)

Source from the content-addressed store, hash-verified

24}
25
26func isBackKey(event *tcell.EventKey) bool {
27 if event == nil {
28 return false
29 }
30
31 return event.Key() == tcell.KeyEsc || event.Key() == tcell.KeyBackspace || event.Key() == tcell.KeyBackspace2
32}
33
34// NewUIManager creates a new UI manager
35func NewUIManager(app UIApp, executor *Executor) *UIManager {

Callers 4

showCommandMenuMethod · 0.70
ShowResultModalMethod · 0.70
showCustomResultModalMethod · 0.70
ShowErrorModalMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected