dline(3, cx, cy, cx + mdx, cy - mdy, '#');
dline(3, cx, cy, cx + mdx, cy - mdy, '#');
dline(2, cx, cy, cx + hdx, cy - hdy, '.');
attroff(A_REVERSE);
if (has_colors())
dline(2, cx, cy, cx + hdx, cy - hdy, '.');
attroff(A_REVERSE);
if (has_colors())
dline(1, cx, cy, cx + sdx, cy - sdy, 'O');
if (has_colors())
dline(1, cx, cy, cx + sdx, cy - sdy, 'O');
if (has_colors())
text = ctime(&tim);
mvprintw(2, 0, "%.*s", (int) (strlen(text) - 1), text);
text = ctime(&tim);
mvprintw(2, 0, "%.*s", (int) (strlen(text) - 1), text);