euporie.core.key_binding.bindings.mouse
Key bindings to deal with pixel mouse positioning.
Functions
|
Typed version of namedtuple. |
Additional key-bindings to deal with SGR-pixel mouse positioning. |
|
Key bindings, required for mouse support. |
Classes
|
All euporie apps. |
|
Fast, lightweight cache which keeps at most size items. |
A container for a set of key bindings. |
|
|
List of keys for use in key bindings. |
|
|
|
Mouse event, which also store relative position of the mouse event in a cell. |
|
|
|
|
|
|
alias of |
|
|
Store the relative position or the mouse within a terminal cell. |
Exceptions
Information unavailable. |
- class euporie.core.key_binding.bindings.mouse.MouseEvent(position: Point, event_type: MouseEventType, button: MouseButton, modifiers: frozenset[prompt_toolkit.mouse_events.MouseModifier], cell_position: euporie.core.key_binding.bindings.mouse.RelativePosition | None)
Bases:
MouseEvent
Mouse event, which also store relative position of the mouse event in a cell.
- class euporie.core.key_binding.bindings.mouse.RelativePosition(x: float, y: float)
Bases:
NamedTuple
Store the relative position or the mouse within a terminal cell.
- count(value, /)
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.
- euporie.core.key_binding.bindings.mouse.load_mouse_bindings() KeyBindings
Additional key-bindings to deal with SGR-pixel mouse positioning.