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:
Pietro Gagliardi 2014-03-22 15:32:19 -04:00
parent 61a372987a
commit 0eef9ba4bc
1 changed files with 3 additions and 1 deletions

View File

@ -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.