This commit is contained in:
anon 2023-08-10 15:01:17 +02:00
parent e19aaa09b9
commit 5cc1a831a6

View File

@ -270,6 +270,7 @@ static inline void display_mode(){
}
static inline void display_command_field(){
werase(winput);
mvwaddstr(winput, 0, 0, prompts[input_mode]);
waddstr(winput, rl_line_buffer);
}
@ -514,7 +515,6 @@ display(void)
if(window_change){
if(window_change == CH_HELP){
werase(whelp);
display_help();
/* Do not display over the help msg and */
/* rely on display_help() setting CH_ALL */
@ -525,7 +525,6 @@ display(void)
display_frame();
}
if(window_change & CH_INPUT){
werase(winput);
display_command_field();
}
if(window_change & CH_RESULT){