Compare commits

...

2 Commits

Author SHA1 Message Date
1d0d4e2362 update README to reflect new aditions
Some checks are pending
/ sync-to-origin (push) Waiting to run
2025-04-14 09:24:23 +02:00
a35242b420 fix attachment window not disapearing 2025-04-14 09:22:39 +02:00
2 changed files with 6 additions and 2 deletions

View File

@ -10,5 +10,5 @@
> - [x] Login
> - [x] Marks
> - [x] Timetable
> - [ ] Komens
> - [x] Komens
> - [ ] Absence

View File

@ -273,7 +273,7 @@ void insert_content(WINDOW *content_win, WINDOW *attachment_win,
mvwprintw(attachment_win, j + 1, 0, "%zu>", j + 1);
wattroff(attachment_win, COLOR_PAIR(COLOR_MAGENTA));
}
{ // remove duplicating spaces
{ // remove duplicating edges
unsigned short attachment_win_top, attachment_win_left,
attachment_win_height, attachment_win_width;
getbegyx(attachment_win, attachment_win_top, attachment_win_left);
@ -284,6 +284,10 @@ void insert_content(WINDOW *content_win, WINDOW *attachment_win,
}
refresh();
wrefresh(attachment_win);
} else {
// remove attachment window if there are no attachments
wclear(attachment_win);
wrefresh(attachment_win);
}
}