|
From: Ethan M. <merritt@u.washington.edu> - 2010-01-31 21:56:09
|
On Sunday 31 January 2010, Petr Mikulik wrote: > > I see this on Linux: > set term wxt > plot x > <close the window> > pause mouse any > <need to press Ctrl-C> > > The same for "set term x11". > On "set term windows": <need to press Enter> > > I think it would be better to require <Enter> on all platforms if wxt or x11 > window is not available. I have this listed already as an un-fixed bug. "pause mouse" should return immediately, perhaps with a warning, if the there is no mousable window present. Here are my notes: - If an x11 plot window is killed, then a subsequent 'pause mouse' command should be rejected. The only way I have managed to set this up so far is to have event_reset() set term_initialised = FALSE, and have pause_command() test for it. This seems to work for x11, but I have no idea what havoc it might trigger on os2 or whatever else. |