summaryrefslogtreecommitdiffstats
path: root/src/tui.h
diff options
context:
space:
mode:
authormongo <andmarti@gmail.com>2017-04-05 14:34:17 -0300
committermongo <andmarti@gmail.com>2017-04-05 14:34:17 -0300
commita60fa43aedacc49397ff1f5e93af31e18c20eb65 (patch)
tree81da037606975dd1325438310bd7ea5269d24ba0 /src/tui.h
parent5b1baaddf351a5d4c24789f109cf5bfa17d62586 (diff)
more cleaning of ui
Diffstat (limited to 'src/tui.h')
-rw-r--r--src/tui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tui.h b/src/tui.h
index 05977eb..d733900 100644
--- a/src/tui.h
+++ b/src/tui.h
@@ -1,5 +1,6 @@
#include <ncurses.h>
#include <wchar.h>
+#include <lua.h>
#define N_INIT_PAIRS 19
#define DEFAULT_COLOR -1
@@ -12,8 +13,6 @@
#define CYAN COLOR_CYAN
#define WHITE COLOR_WHITE
-extern WINDOW * main_win;
-extern WINDOW * input_win;
extern int offscr_sc_rows, offscr_sc_cols;
extern unsigned int curmode;
extern struct srange * ranges;
@@ -46,3 +45,5 @@ void write_j(WINDOW * win, const char * word, const unsigned int row, const unsi
void yyerror(char *err); // error routine for yacc (gram.y)
void show_text(char * val);
+void ui_bail(lua_State *L, char * msg);
+char * ui_query(char * initial_msg);