强力的lua patch,支持lua终端代码揭示
强力的lua patch,支持lua终端代码提示
This patch adds the following features to the existing readline support in Lua 5.x: After applying the patch start Lua and try these (replace 地址:http://lua-users.org/wiki/LuaPowerPatches
Advanced readline support (5.2, 5.1, 5.0)
LUA_HISTORY
env variable).LUA_HISTSIZE
env variable).$if lua ... $endif
in ~/.inputrc
.~
with the TAB key):~~
fu~foo() ret~fa~end<CR>
io~~~s~~~o~~~w~"foo\n")<CR>