1
0
mirror of https://gitlab.com/comunic/comunicterm synced 2024-11-16 02:21:08 +00:00

Clean screen

This commit is contained in:
Pierre HUBERT 2020-01-15 17:15:36 +01:00
parent 5dc77f7aa0
commit 5bf11f0a8b

View File

@ -44,6 +44,8 @@ while(true) {
init_pair(1, COLOR_RED, COLOR_BLACK);
init_pair(2, COLOR_CYAN, COLOR_BLACK);
erase();
/* Create items */
n_choices = ARRAY_SIZE(choices);
my_items = static_cast<ITEM **>(calloc(static_cast<size_t>(n_choices), sizeof(ITEM *)));