mirror of
https://gitlab.com/comunic/comunicterm
synced 2024-12-26 05:28:54 +00:00
Clean screen
This commit is contained in:
parent
5dc77f7aa0
commit
5bf11f0a8b
@ -44,6 +44,8 @@ while(true) {
|
|||||||
init_pair(1, COLOR_RED, COLOR_BLACK);
|
init_pair(1, COLOR_RED, COLOR_BLACK);
|
||||||
init_pair(2, COLOR_CYAN, COLOR_BLACK);
|
init_pair(2, COLOR_CYAN, COLOR_BLACK);
|
||||||
|
|
||||||
|
erase();
|
||||||
|
|
||||||
/* Create items */
|
/* Create items */
|
||||||
n_choices = ARRAY_SIZE(choices);
|
n_choices = ARRAY_SIZE(choices);
|
||||||
my_items = static_cast<ITEM **>(calloc(static_cast<size_t>(n_choices), sizeof(ITEM *)));
|
my_items = static_cast<ITEM **>(calloc(static_cast<size_t>(n_choices), sizeof(ITEM *)));
|
||||||
|
Loading…
Reference in New Issue
Block a user