Compare commits
No commits in common. "1d0d4e236226d6c086af147353d2192961a279a5" and "e78c8d7efa5924bfadc76ca0ea5ea7bae748e370" have entirely different histories.
1d0d4e2362
...
e78c8d7efa
@ -10,5 +10,5 @@
|
|||||||
> - [x] Login
|
> - [x] Login
|
||||||
> - [x] Marks
|
> - [x] Marks
|
||||||
> - [x] Timetable
|
> - [x] Timetable
|
||||||
> - [x] Komens
|
> - [ ] Komens
|
||||||
> - [ ] Absence
|
> - [ ] Absence
|
||||||
|
@ -273,7 +273,7 @@ void insert_content(WINDOW *content_win, WINDOW *attachment_win,
|
|||||||
mvwprintw(attachment_win, j + 1, 0, "%zu>", j + 1);
|
mvwprintw(attachment_win, j + 1, 0, "%zu>", j + 1);
|
||||||
wattroff(attachment_win, COLOR_PAIR(COLOR_MAGENTA));
|
wattroff(attachment_win, COLOR_PAIR(COLOR_MAGENTA));
|
||||||
}
|
}
|
||||||
{ // remove duplicating edges
|
{ // remove duplicating spaces
|
||||||
unsigned short attachment_win_top, attachment_win_left,
|
unsigned short attachment_win_top, attachment_win_left,
|
||||||
attachment_win_height, attachment_win_width;
|
attachment_win_height, attachment_win_width;
|
||||||
getbegyx(attachment_win, attachment_win_top, attachment_win_left);
|
getbegyx(attachment_win, attachment_win_top, attachment_win_left);
|
||||||
@ -284,10 +284,6 @@ void insert_content(WINDOW *content_win, WINDOW *attachment_win,
|
|||||||
}
|
}
|
||||||
refresh();
|
refresh();
|
||||||
|
|
||||||
wrefresh(attachment_win);
|
|
||||||
} else {
|
|
||||||
// remove attachment window if there are no attachments
|
|
||||||
wclear(attachment_win);
|
|
||||||
wrefresh(attachment_win);
|
wrefresh(attachment_win);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user