summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-30 19:57:24 -0400
committerPietro Gagliardi <[email protected]>2014-03-30 19:57:24 -0400
commitce5cd80dba0cccf20e8a5c7de50b2202bce3a346 (patch)
tree603826b817a70fd11a93c47ea09a9dc582987366 /area.go
parent6a7cb73ddaa92a87fb4df77a7a3f3c2332f8761f (diff)
Updated the documentation: Area now works on all platforms, Modifiers behavior on both left and right keys simultaneously is undefined for now, and the way to create custom Controls no longer involves embedding Area.
Diffstat (limited to 'area.go')
-rw-r--r--area.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/area.go b/area.go
index 7ee9070..aee8b78 100644
--- a/area.go
+++ b/area.go
@@ -246,6 +246,7 @@ func (e KeyEvent) EffectiveKey() byte {
// Modifiers indicates modifier keys being held during an event.
// There is no way to differentiate between left and right modifier keys.
+// As such, what KeyEvents get sent if the user does something unusual with both of a certain modifier key at once is (presently; TODO) undefined.
type Modifiers uintptr
const (
Ctrl Modifiers = 1 << iota // the canonical Ctrl keys ([TODO] on Mac OS X, Control on others)