Open a menu with the mouse
This commit is contained in:
@ -86,6 +86,13 @@ class Display:
|
||||
def display(self) -> None:
|
||||
raise NotImplementedError
|
||||
|
||||
def handle_click(self, y: int, x: int) -> None:
|
||||
"""
|
||||
A mouse click was performed on the coordinates (y, x) of the pad.
|
||||
Maybe it can do something.
|
||||
"""
|
||||
pass
|
||||
|
||||
@property
|
||||
def rows(self) -> int:
|
||||
return curses.LINES if self.screen else 42
|
||||
|
Reference in New Issue
Block a user