improve lcurses
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
package = "ltui"
|
package = "ltui"
|
||||||
version = "1.4-1"
|
version = "1.5-1"
|
||||||
source = {
|
source = {
|
||||||
url = "git://github.com/tboox/ltui",
|
url = "git://github.com/tboox/ltui",
|
||||||
tag = "v1.4"
|
tag = "v1.5"
|
||||||
}
|
}
|
||||||
description = {
|
description = {
|
||||||
detailed = [[
|
detailed = [[
|
@@ -763,7 +763,9 @@ static int lc_pair_content(lua_State *L)
|
|||||||
#ifdef COLORS
|
#ifdef COLORS
|
||||||
LC_NUMBER2(COLORS, COLORS)
|
LC_NUMBER2(COLORS, COLORS)
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef COLOR_PAIRS
|
||||||
LC_NUMBER2(COLOR_PAIRS, COLOR_PAIRS)
|
LC_NUMBER2(COLOR_PAIRS, COLOR_PAIRS)
|
||||||
|
#endif
|
||||||
|
|
||||||
static int lc_COLOR_PAIR(lua_State *L)
|
static int lc_COLOR_PAIR(lua_State *L)
|
||||||
{
|
{
|
||||||
@@ -2257,7 +2259,9 @@ static const luaL_Reg curseslib[] =
|
|||||||
#ifdef COLORS
|
#ifdef COLORS
|
||||||
{ "colors", lc_COLORS },
|
{ "colors", lc_COLORS },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef COLOR_PAIRS
|
||||||
{ "color_pairs", lc_COLOR_PAIRS },
|
{ "color_pairs", lc_COLOR_PAIRS },
|
||||||
|
#endif
|
||||||
{ "color_pair", lc_COLOR_PAIR },
|
{ "color_pair", lc_COLOR_PAIR },
|
||||||
|
|
||||||
/* termattrs */
|
/* termattrs */
|
||||||
|
Reference in New Issue
Block a user