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. |
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. |
|
|
|
|
|
|
|
Store the relative position or the mouse within a terminal cell. |
- class euporie.core.key_binding.bindings.mouse.MouseEvent(position: Point, event_type: MouseEventType, button: MouseButton, modifiers: FrozenSet[MouseModifier], cell_position: Optional[RelativePosition])
Bases:
prompt_toolkit.mouse_events.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() prompt_toolkit.key_binding.key_bindings.KeyBindings
Additional key-bindings to deal with SGR-pixel mouse positioning.