hoelzro / lua-repl

A Lua REPL implemented in Lua for embedding in other programs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rlwrap plugin isn't loading

hoelzro opened this issue · comments

See #56

It seems like the rlwrap plugin isn't loading for some users, even if they have rlwrap on their machine

This has been fixed.

FWIW, the problem was that the rlwrap plugin uses os.execute to check to see if rlwrap is available, and it did this by comparing the result of os.execute with 0. Lua 5.2 and later return a boolean from os.execute, so this comparison always evaluated to false.