This commit is contained in:
anihilis 2026-03-15 23:11:26 -07:00
parent 8295df646f
commit d9e6f8b3a3
5 changed files with 348 additions and 3 deletions

View file

@ -291,15 +291,15 @@ for (int i = 1; i < argc; i++) {
int time_x = (cols - strlen(time_buf)) / 2;
int y_mid = rows / 2;
attron(A_BOLD);
mvprintw(y_mid, time_x, "%s", time_buf);
mvprintw(y_mid -1, time_x, "%s", time_buf);
attroff(A_BOLD);
int date_x = (cols - strlen(date_buf)) / 2;
mvprintw(y_mid + 1, date_x, "%s", date_buf);
mvprintw(y_mid, date_x, "%s", date_buf);
if (!hide_temp) {
int temp_x = (cols - strlen(temp_buf)) / 2;
mvprintw(y_mid + 2, temp_x, "%s", temp_buf);
mvprintw(y_mid + 1, temp_x, "%s", temp_buf);
}
if (!quiet)