diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-07 12:56:10 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-07 12:56:10 -0400 |
| commit | 00acf74177e520c2f961fb478e7674d24c9077c9 (patch) | |
| tree | e4b292f5a4e97f8e065f64bcaeac89ffe5c6641c /test/kbtest.go | |
| parent | 14bb9e3621ebb7839f1542510289e6b9035dce64 (diff) | |
Updated Area's KeyEvent documentation to talk about some window managers on Unix intercepting some events; also updated the keyboard test program to make a note of behaviors related to that.
Diffstat (limited to 'test/kbtest.go')
| -rw-r--r-- | test/kbtest.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kbtest.go b/test/kbtest.go index 8b36c4e..7c96eda 100644 --- a/test/kbtest.go +++ b/test/kbtest.go @@ -80,7 +80,7 @@ func kbTest() { w := NewWindow("Hi", wid, ht) err := w.Open(a) if err != nil { panic(err) } - <-w.Closing + select {} // some X11-based systems intercept Alt-F4 and various other keys; this is to find out if we get the key event anyway after ignoring the other requests (it has the effect of requiring us to abort the keyboard test though) } var ( |
