Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

emaste
Copy link

@emaste emaste commented Jan 14, 2021

_helpers.c is a copy from luaposix, and needs one trivial change for
compatibility with Lua 5.4. luaposix added 5.4 support by appending
a LUA_VERSION_NUM == 504 case to an existing #ifdef for 502 and 503.

I chose instead to change it to >= 502, to fix for this 5.4 and avoid
encountering this issue again with the next Lua update.

_helpers.c is a copy from luaposix, and needs one trivial change for
compatibility with Lua 5.4.  luaposix added 5.4 support by appending
a `LUA_VERSION_NUM == 504` case to an existing #ifdef for 502 and 503.

I chose instead to change it to >= 502, to fix for this 5.4 and avoid
encountering this issue again with the next Lua update.
@laoshaw
Copy link

laoshaw commented Feb 14, 2023

can this be merged to support lua 5.4 officially?

@lvitals
Copy link

lvitals commented Aug 12, 2025

Hi,

I noticed this PR adds Lua 5.4 support, which would be very helpful for current environments.
Is this project still being maintained? If so, could this be merged so that lcurses can work with Lua 5.4 out of the box?

Thanks for your work on this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.