Hi,
I try to program the mouse in a linux console (xterm). Even with the very simple example given in the mouse unit reference, I cannot get it working. When I run the example, it only prints ANSI escape code on the console each time I press a mouse button.
Here is the code used:
Program Example2;
Uses mouse;
begin
InitMouse;
Writeln('Press right mouse button to exit program');
While (GetMouseButtons<>MouseRightButton) do ;
DoneMouse;
end.
Thank you for your help.