File src/cmdline.c changed (mode: 100644) (index 8a5f21551..25a1165bb) |
... |
... |
update_cmdline_text(void) |
329 |
329 |
{ |
{ |
330 |
330 |
werase(status_bar); |
werase(status_bar); |
331 |
331 |
mvwaddwstr(status_bar, 0, 0, input_stat.prompt); |
mvwaddwstr(status_bar, 0, 0, input_stat.prompt); |
332 |
|
mvwaddwstr(status_bar, 0, input_stat.prompt_wid, input_stat.line); |
|
|
332 |
|
if(input_stat.line != NULL) |
|
333 |
|
mvwaddwstr(status_bar, 0, input_stat.prompt_wid, input_stat.line); |
333 |
334 |
wmove(status_bar, 0, input_stat.curs_pos); |
wmove(status_bar, 0, input_stat.curs_pos); |
334 |
335 |
} |
} |
335 |
336 |
|
|
|
... |
... |
prepare_cmdline_mode(const wchar_t *prompt, const wchar_t *cmd) |
455 |
456 |
} |
} |
456 |
457 |
|
|
457 |
458 |
curs_set(1); |
curs_set(1); |
458 |
|
wresize(status_bar, 1, getmaxx(stdscr)); |
|
459 |
|
werase(status_bar); |
|
460 |
459 |
|
|
461 |
|
mvwaddwstr(status_bar, 0, 0, input_stat.prompt); |
|
462 |
|
if(input_stat.line != NULL) |
|
463 |
|
waddwstr(status_bar, input_stat.line); |
|
464 |
|
wrefresh(status_bar); |
|
|
460 |
|
update_cmdline_size(); |
|
461 |
|
update_cmdline_text(); |
|
462 |
|
|
465 |
463 |
curr_stats.save_msg = 1; |
curr_stats.save_msg = 1; |
466 |
464 |
} |
} |
467 |
465 |
|
|