Version 5.2 patchlevel 5 on Debian Stretch (xfce).
"pause mouse" doesn't catch close events without hitting carriage return.
Simple example:
pl sin(x); pause mouse any; pr "event!"
Hitting any key or clicking in the plot area causes the "event!" text to appear.
However, when closing the plot window with Alt-F4 or the close window button, the text does not appear until hitting return.
Happens with both X11 and qt terminals.
Yes, sorry about that. Fixes for "pause mouse" came in just a little bit too late to make the 5.2.5 release.
Fixed for the 5-2-stable branch by commits
ea9f4e28 (qt)
e2b25bec (wxt)
4acb0010 (x11)
However it is possible that the fixes already applied don't catch your particular case. If you can test and confirm that it is or isn't working, that would be great.
Can confirm that the 5-2-stable branch works correctly for me.
Thanks very much!