MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / String

Method String

key.go:228–230  ·  view source on GitHub ↗

String implements [fmt.Stringer] and is quite useful for matching key events. For details, on what this returns see [Key.String].

()

Source from the content-addressed store, hash-verified

226// String implements [fmt.Stringer] and is quite useful for matching key
227// events. For details, on what this returns see [Key.String].
228func (k KeyReleaseMsg) String() string {
229 return Key(k).String()
230}
231
232// Keystroke returns the keystroke representation of the [Key]. While less type
233// safe than looking at the individual fields, it will usually be more

Callers

nothing calls this directly

Calls 2

KeyStruct · 0.85
StringMethod · 0.45

Tested by

no test coverage detected