diff --git a/main.c b/main.c index 5c86cbd..8302f47 100644 --- a/main.c +++ b/main.c @@ -18,11 +18,12 @@ void clearInput() { //} void printPrompt(int* prompt, int len, int position) { + mvprintw(rows - 1, 0, ">"); for (int i = 0; i < len; i ++) - mvprintw(rows - 1, i, "%c", prompt[i]); + mvprintw(rows - 1, i + 1, "%c", prompt[i]); attron(A_BLINK); - mvprintw(rows - 1, position, ""); + mvprintw(rows - 1, position + 1, ""); attroff(A_BLINK); }