Added a note about what package ui will do to a keypress it will not send out due to not being portable to the Area planning document.
This commit is contained in:
parent
61a372987a
commit
0eef9ba4bc
|
@ -704,7 +704,9 @@ OS X: use `charactersIgnoringModifiers`
|
|||
// As another consequence, no KeyEvent will be generated if
|
||||
// package ui cannot portably report a given key. Supported
|
||||
// keys are described in the comments for the Rune field and
|
||||
// the ExtKey and Modifiers types.
|
||||
// the ExtKey and Modifiers types. Package ui will act as if
|
||||
// false was sent on Handled, so these ignored keypresses are
|
||||
// sent back to the operating system for handling.
|
||||
type KeyArea struct {
|
||||
// Rune contains a lowercase rune specifying the name
|
||||
// of the key pressed that triggered the event.
|
||||
|
|
Loading…
Reference in New Issue