propper input handling

This commit is contained in:
nova
2025-07-03 00:58:31 +02:00
parent 0a6509310d
commit f320449572
4 changed files with 74 additions and 27 deletions

View File

@@ -4,6 +4,7 @@
#include "defines.h"
extern unsigned int status;
extern char *input;
extern unsigned int timeout_time;
extern unsigned int color_count;
@@ -56,7 +57,9 @@ void window_btm(WINDOW *win){
} else {
mvwprintw(win, 0, 0, "%s", btm_buffer);
pthread_mutex_unlock(&mutex_btm);
/*the printing of the input char is done in user_interactions*/
}
}
void window_lft(WINDOW *win){
werase(win);