pub fn has_mouse() -> bool
Expand description

The has_mouse() function returns true if the mouse driver has been successfully initialized.

Note that mouse events will be ignored when input is in cooked mode, and will cause an error beep when cooked mode is being simulated in a window by a function such as getstr() that expects a linefeed for input-loop termination.