Starting window output in x position 1
This commit is contained in:
12
input_bar.c
12
input_bar.c
@@ -29,6 +29,12 @@ void inp_bar_active(int win)
|
||||
wrefresh(inp_bar);
|
||||
}
|
||||
|
||||
void inp_bar_get_password(void)
|
||||
{
|
||||
mvwprintw(inp_bar, 0, 1, "Enter password:");
|
||||
wrefresh(inp_bar);
|
||||
}
|
||||
|
||||
void inp_bar_print_message(char *msg)
|
||||
{
|
||||
mvwprintw(inp_bar, 0, 9, msg);
|
||||
@@ -46,3 +52,9 @@ void inp_bar_update_time(void)
|
||||
wrefresh(inp_bar);
|
||||
inp_put_back();
|
||||
}
|
||||
|
||||
void inp_bar_clear(void)
|
||||
{
|
||||
wclear(inp_bar);
|
||||
wrefresh(inp_bar);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user