From d672b9d9607510136abba15354f0451a8f0f1aea Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 12 Oct 2012 13:15:53 -0400 Subject: Fixed ncurses bug in command selection introduced by r1256. --- src/textadept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/textadept.c b/src/textadept.c index 618dedce..c4e6fbe9 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -895,7 +895,7 @@ static int lgui_menu(lua_State *L) { #if GTK l_pushmenu(L, -1, G_CALLBACK(m_clicked), FALSE); #elif NCURSES - luaL_error(L, "not implemented in this environment"); + lua_pushnil(L); #endif return 1; } -- cgit v1.2.3