[][src]Function crosscurses::mouseinterval

pub fn mouseinterval(interval: i32) -> i32

Sets the timeout for a mouse click.

Sets the maximum time (in thousands of a second) that can elapse between press and release events for them to be recognized as aclick. Use mouseinterval(0) to disable click resolution. This function returns the previous interval value. Use mouseinterval(-1) to obtain the interval without altering it. The default is one sixth of a second.