commit 85eab05dc2e652bf33949cc7c7331b472bc48d9e
parent 63684baaf822e9cbb645a964a9d4a4cf3c57c331
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Sun, 16 May 2021 09:12:44 +0200
improve href display for small screens
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/caldav.c b/caldav.c
@@ -118,11 +118,8 @@ void caldav_sync(const struct tm* date, WINDOW* header) {
wclear(header);
int row, col;
getmaxyx(header, row, col);
- wresize(header, row+5, col);
- //curs_set(2);
+ wresize(header, LINES, col);
mvwprintw(header, 0, 0, "Go to Google OAuth2 authorization URI. Use 'q' or 'Ctrl+c' to quit authorization process.\n%s", uri);
-
- //curs_set(0);
wrefresh(header);
int socketfd = socket(addr_res->ai_family, addr_res->ai_socktype, addr_res->ai_protocol);