Release the mouse button.
(self, button: Literal["left", "right", "middle"] = "left")
| 409 | self.commands.run(f"xdotool mousedown {MOUSE_BUTTONS[button]}") |
| 410 | |
| 411 | def mouse_release(self, button: Literal["left", "right", "middle"] = "left"): |
| 412 | """ |
| 413 | Release the mouse button. |
| 414 | """ |
| 415 | self.commands.run(f"xdotool mouseup {MOUSE_BUTTONS[button]}") |
| 416 | |
| 417 | def get_cursor_position(self) -> tuple[int, int]: |
| 418 | """ |