blob: ef954703cc1ccc1ed40f10dd972437d83b8d2e4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#include "module.h"
#include "settings.h"
#include "cuix-api.h"
#include "cuix-lib.h"
#include "cuix.h"
#include "term.h"
#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
# include <ncurses.h>
#else
# include <curses.h>
#endif
void cuix_destroy (void)
{
if (cuix_win) {
del_panel (p_cuix);
delwin(cuix_win);
}
cuix_win = NULL;
cuix_active = 0;
update_panels ();
doupdate();
term_refresh (root_window);
irssi_redraw ();
}
void cuix_create(void)
{
home_menu (NULL);
cuix_destroy ();
}
void cuix_refresh (void)
{
update_panels ();
}
|