summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
Diffstat (limited to 'area.go')
-rw-r--r--area.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/area.go b/area.go
index fbc629e..9f98c29 100644
--- a/area.go
+++ b/area.go
@@ -277,10 +277,10 @@ func (e KeyEvent) EffectiveKey() byte {
// 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)
- Alt // the canonical Alt keys ([TODO] on Mac OS X, Meta on Unix systems, Alt on others)
+ Ctrl Modifiers = 1 << iota // the keys labelled Ctrl or Control on all platforms
+ Alt // the keys labelled Alt or Option or Meta on all platforms
Shift // the Shift keys
- // TODO add Super
+ Super // the Super keys on platforms that have one, or the Windows keys on Windows, or the Command keys on Mac OS X
)
func checkAreaSize(width int, height int, which string) {