diff options
Diffstat (limited to 'poezio/windows/confirm.py')
-rw-r--r-- | poezio/windows/confirm.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/windows/confirm.py b/poezio/windows/confirm.py index 591ff89a..f2794221 100644 --- a/poezio/windows/confirm.py +++ b/poezio/windows/confirm.py @@ -2,9 +2,11 @@ from poezio.windows.base_wins import Win from poezio.theming import get_theme, to_curses_attr + class Dialog(Win): str_accept = " Accept " str_refuse = " Reject " + def __init__(self, helper_text, critical=False): self.text = helper_text self.accept = False @@ -35,4 +37,3 @@ class Dialog(Win): def toggle_choice(self): self.accept = not self.accept - |