Re: question about mouse.e
- Posted by "Carl R. White" <C.R.White at SCM.BRAD.AC.UK> Nov 13, 1998
- 1048 views
On Fri, 13 Nov 1998, BABOR, JIRI wrote: > jesse, > > Even in the text mode, get_mouse() returns are sort of 'pixel' based. Below is > a routine > from my old ratbag.e (from my old first collection, still available from the > Archives, I > think), that corrects the anomaly. jiri > > global function get_text_mouse() This works fine. DC uses it in EE. However, you all might find that in text-screen modes above 25 lines, the mouse doesn't want to go below line 25... Use confine_mouse() to unconfine it :) . IIRC: vc = video_config() confine_mouse({{1,1},{vc[VC_COLUMNS], vc[VC_ROWS]}) Was something like the syntax I used. It's in my version of DC's toolkit anyway. -- Carl R White -- Final Year Computer Science at the University of Bradford E-mail...: cyrek- at -bigfoot.com -- Remove the hyphens before mailing. Ta :) URL......: http://www.bigfoot.com/~cyrek/ Ykk rnyllaqur rgiokc cea nyemdok ymc giququezka caysgr -- B.Q.Vgesa