Added horizontal line to prompts.
This commit is contained in:
parent
e0d56b903c
commit
c3f21b2cbc
3
prompt.c
3
prompt.c
@ -16,6 +16,9 @@ static WINDOW* create_prompt(const char *message, int height, int width)
|
||||
center_y(height), center_x(width));
|
||||
werase(prompt);
|
||||
mvwprintw(prompt, 1, 1, message);
|
||||
wmove(prompt, 2, 0);
|
||||
waddch(prompt, ACS_LTEE);
|
||||
whline(prompt, ACS_HLINE, 1000);
|
||||
box(prompt, 0, 0);
|
||||
wmove(prompt, PROMPT_OFFY, PROMPT_OFFX);
|
||||
return prompt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user