Browse Source

Cleanup

master
cancel 5 years ago
parent
commit
474098abb6
  1. 9
      term_util.c

9
term_util.c

@ -3,8 +3,6 @@
#include <ctype.h>
#include <form.h>
ORCA_NOINLINE static void qmenu_reprint(Qmenu *qm);
void term_util_init_colors() {
if (has_colors()) {
// Enable color
@ -61,6 +59,10 @@ struct Qform {
int id;
};
void qmenu_free(Qmenu *qm);
void qform_free(Qform *qf);
ORCA_NOINLINE static void qmenu_reprint(Qmenu *qm);
Qnav_stack qnav_stack;
void qnav_init() { qnav_stack = (Qnav_stack){.blocks = {0}}; }
@ -128,9 +130,6 @@ void qblock_init(Qblock *qb, Qblock_type_tag tag) {
qb->tag = tag;
}
void qmenu_free(Qmenu *qm);
void qform_free(Qform *qf);
void qnav_free_block(Qblock *qb) {
switch (qb->tag) {
case Qblock_type_qmsg: {

Loading…
Cancel
Save