diff options
Diffstat (limited to 'source/main_cli.py')
| -rw-r--r-- | source/main_cli.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/main_cli.py b/source/main_cli.py index 53f49aa..b474551 100644 --- a/source/main_cli.py +++ b/source/main_cli.py | |||
| @@ -98,6 +98,14 @@ def draw_menu(stdscr): | |||
| 98 | break # Exit the while loop and terminate the program | 98 | break # Exit the while loop and terminate the program |
| 99 | 99 | ||
| 100 | 100 | ||
| 101 | def input_handling(): | ||
| 102 | while True: | ||
| 103 | key = stdscr.getkey() | ||
| 104 | stdcr.addstr(f"key: {key}") | ||
| 105 | stdcr.refresh() | ||
| 106 | stdcr.getch() | ||
| 107 | |||
| 108 | |||
| 101 | def main(): | 109 | def main(): |
| 102 | """ | 110 | """ |
| 103 | The main function wraps the curses functionality and runs the application. | 111 | The main function wraps the curses functionality and runs the application. |
