MCPcopy
hub / github.com/charmbracelet/bubbletea / KeyMsg

Interface KeyMsg

key.go:259–264  ·  view source on GitHub ↗

KeyMsg represents a key event. This can be either a key press or a key release event.

Source from the content-addressed store, hash-verified

257// KeyMsg represents a key event. This can be either a key press or a key
258// release event.
259type KeyMsg interface {
260 fmt.Stringer
261
262 // Key returns the underlying key event.
263 Key() Key
264}
265
266// Key represents a Key press or release event. It contains information about
267// the Key pressed, like the runes, the type of Key, and the modifiers pressed.

Callers 5

KeystrokeMethod · 0.65
KeystrokeMethod · 0.65
StringMethod · 0.65
KeystrokeMethod · 0.65
UpdateMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…