diff options
Diffstat (limited to 'src/fe-text/cuix.c')
-rw-r--r-- | src/fe-text/cuix.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/fe-text/cuix.c b/src/fe-text/cuix.c new file mode 100644 index 00000000..ef954703 --- /dev/null +++ b/src/fe-text/cuix.c @@ -0,0 +1,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 (); +} + + |