From: Petr M. <mi...@ph...> - 2004-05-04 08:15:11
|
> Summary: > > The extra replot in mouse.c was my attempt to handle "pause mouse" > in a terminal-independent fashion. Without it there were indeed > problems with term->waitforinput(). > > Petr points out that X11 is still the only terminal supporting > pause for mouse (I thought windows and/or os2 did also but I was > wrong). So I will pull this code out of mouse.c and handle it directly > in x11.trm. This avoids the replot, and introduces no new problems > that I can see. I'm sorry I always complain a bit ... some eaten chars again ... this works when pasting the text from clipboard by mouse: plot x pause mouse plot 1-x but this eats one character: plot x pause -1 plot 1-x > It does mean, however, that equivalent code will be needed > in other terminal drivers if and when they choose to support > pause for mouse. It should be anyway, as they use different technology for pausing (hotkey in menu, message box, etc). Petr |