diff options
Diffstat (limited to 'clients')
| -rw-r--r-- | clients/bokftui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clients/bokftui.c b/clients/bokftui.c index ade7948..9ee5859 100644 --- a/clients/bokftui.c +++ b/clients/bokftui.c @@ -371,6 +371,8 @@ static char *date_prompt(const char *label, const char *def) static char buf[16]; snprintf(buf, sizeof buf, "%s", def ? def : ""); int y = LINES - 3; + move(y, 2); + clrtoeol(); attron(A_BOLD); mvaddstr(y, 2, label); attroff(A_BOLD); @@ -533,11 +535,11 @@ static char *prompt(const char *label, const char *def, int mask) static char buf[512]; snprintf(buf, sizeof buf, "%s", def ? def : ""); int y = LINES - 3; + move(y, 2); + clrtoeol(); attron(A_BOLD); mvaddstr(y, 2, label); attroff(A_BOLD); - move(y, (int)strlen(label) + 3); - clrtoeol(); refresh(); int prev = curs_set(1); int rc = edit_field(y, (int)strlen(label) + 3, buf, sizeof buf, mask); |
