improve lcurses

This commit is contained in:
ruki
2019-03-17 20:45:44 +08:00
parent 70b9e43854
commit e84c9b2972
2 changed files with 6 additions and 2 deletions

View File

@@ -1,8 +1,8 @@
package = "ltui"
version = "1.4-1"
version = "1.5-1"
source = {
url = "git://github.com/tboox/ltui",
tag = "v1.4"
tag = "v1.5"
}
description = {
detailed = [[

View File

@@ -763,7 +763,9 @@ static int lc_pair_content(lua_State *L)
#ifdef COLORS
LC_NUMBER2(COLORS, COLORS)
#endif
#ifdef COLOR_PAIRS
LC_NUMBER2(COLOR_PAIRS, COLOR_PAIRS)
#endif
static int lc_COLOR_PAIR(lua_State *L)
{
@@ -2257,7 +2259,9 @@ static const luaL_Reg curseslib[] =
#ifdef COLORS
{ "colors", lc_COLORS },
#endif
#ifdef COLOR_PAIRS
{ "color_pairs", lc_COLOR_PAIRS },
#endif
{ "color_pair", lc_COLOR_PAIR },
/* termattrs */