[][src]Module bear_lib_terminal::terminal::state::mouse

Checking the state of mouse-related properties, namely the mouse cursor's position, n-clicks and scrolling.

Functions

clicks

Amount of fast consecutive clicks for the Event::KeyPressed with key: Mouse*.

pixel_position

Get the mouse cursor's position in pixels.

position

Get the mouse cursor's position in cells.

scroll

Amount of steps the mouse wheel scrolled in the last Event::MouseScroll.