pressing a key now prints all correlated bindings

This commit is contained in:
nova
2025-07-06 03:36:43 +02:00
parent 142f75d98a
commit 36fd160ccb
3 changed files with 119 additions and 57 deletions

2
main.c
View File

@ -25,6 +25,7 @@ WINDOW *win_m;
WINDOW *win_r;
char *input; /*used in user_interactions*/
char *terminal_width_empty_line; /* used in user_interactions */
void render_pass();
void init();
@ -53,6 +54,7 @@ int main(){
pthread_t thread_r;
char threading = 0;
terminal_width_empty_line = malloc(terminal_width);
while(!(status & STATUS_QUIT_PROGRAM)){