diff options
Diffstat (limited to 'src/getstring.c')
-rw-r--r-- | src/getstring.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getstring.c b/src/getstring.c index 10a6f5e..d558331 100644 --- a/src/getstring.c +++ b/src/getstring.c @@ -69,8 +69,8 @@ static void getstr_print(WINDOW * win, int x, int y, mvwprintw(win, y, col - 2, " %c", c); /* print cursor */ - mvwaddch(win, y, st->ci[st->pos].dpyoff - st->ci[st->scrpos].dpyoff, - SPACE | A_REVERSE); + wmove(win, y, st->ci[st->pos].dpyoff - st->ci[st->scrpos].dpyoff); + wchgat(win, 1, A_REVERSE, (colorize ? COLR_CUSTOM : 0), NULL); } /* Delete a character at the given position in string. */ |