about summary refs log tree commit diff stats
path: root/src/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua.c')
-rw-r--r--src/lua.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua.c b/src/lua.c
index 9690184..d7939bf 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -566,6 +566,7 @@ static int pmain (lua_State *L) {
 
 
 extern void draw_menu (lua_State *);
+extern void cleanup_curses (void);
 
 
 int main (int argc, char **argv) {
@@ -589,7 +590,7 @@ int main (int argc, char **argv) {
   status = lua_cpcall(L, &pmain, &s);
   report(L, status);
   lua_close(L);
-  endwin();
+  cleanup_curses();
   return (status || s.status) ? EXIT_FAILURE : EXIT_SUCCESS;
 }
 
0 committer James Booth <boothj5@gmail.com> 2015-01-20 23:02:04 +0000 Added key insert tests, extracted key_ctrl_left handler' href='/danisanti/profani-tty/commit/tests/test_keyhandlers.h?id=25d31101bfb365c8224ef09f84a92794a89e975f'>25d31101 ^
25d31101 ^

25d31101 ^
2cdbfc7e ^
25d31101 ^

















2cdbfc7e ^













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
40
41
42
43
44
45
46
47