mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 06:44:00 -06:00
ui/curses: add curses interface draft
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import typing as T
|
||||
|
||||
|
||||
class BaseView:
|
||||
def __init__(self, screen: T.Any) -> None:
|
||||
self.screen = screen
|
||||
|
||||
def start(self) -> None:
|
||||
pass
|
||||
|
||||
def stop(self) -> None:
|
||||
pass
|
||||
|
||||
def idle(self) -> None:
|
||||
pass
|
||||
|
||||
def keypress(self, key: int) -> None:
|
||||
pass
|
||||
Reference in New Issue
Block a user