RE: Mouse in text mode

new topic     » topic index » view thread      » older message » newer message

daryl_vdb at HOTMAIL.COM wrote:
> I have attatched a small prog that should help.
> 
> simply move the mouse and read the sequence returned by get_mouse
> (4th line down, "mouse event: {,,}")
> you can also see the result in different text modes.
> 
> I think you divide both x and y by 8
> 
> I hope that helps
> 
> Daryl van den Brink
> 
> 
> 
Hi 
Thanks for the program and yes you divide by 8 and it works on both 
lines and cols,but for one thing it reutrns a number like this say your 
max_rows are 80 it will say 79 so all you need to do is +1 to that and 
it will work.same for cols.Thanks agian
David

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu