diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-09-20 21:25:38 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-09-20 21:25:38 +0200 |
commit | 8c7a4e28d5d9413925aa9e1e23a36e170658f20d (patch) | |
tree | 9eae7ccf683c4e5104c04233f56f9c7e3c884c0b /sys | |
parent | b9796e0774636821b0a0c50c600920805642960a (diff) |
vt: make selecting() wait until all buttons are lifted avoiding menu when chording
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/cmd/vt/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/vt/main.c b/sys/src/cmd/vt/main.c index c660179da..acdd574e8 100644 --- a/sys/src/cmd/vt/main.c +++ b/sys/src/cmd/vt/main.c @@ -1057,6 +1057,7 @@ selecting(void) case 3: snarfsel(); break; case 5: paste(); break; } + while(mc->buttons&7) readmouse(mc); t = -mc->msec; } |