vt: make selecting() wait until all buttons are lifted avoiding menu when chording

This commit is contained in:
cinap_lenrek 2018-09-20 21:25:38 +02:00
parent b9796e0774
commit 8c7a4e28d5

View file

@ -1057,6 +1057,7 @@ selecting(void)
case 3: snarfsel(); break;
case 5: paste(); break;
}
while(mc->buttons&7) readmouse(mc);
t = -mc->msec;
}