Reputation: 44
Do the POSIX APIs provide a function to track where the mouse is in relation to the console? (For example, in Vim and derivatives, clicking and dragging selects that text in Visual mode.)
Upvotes: 0
Views: 89
Reputation: 52549
The POSIX API has no mouse-related functions or options. Console programs that interact with mice have to do so via OS-specific methods or non-POSIX libraries.
Upvotes: 3