mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
Application name for 'readline' is "lua", not "Lua"
This commit is contained in:
parent
30531c291b
commit
270a58c062
1 changed files with 1 additions and 1 deletions
2
lua.c
2
lua.c
|
|
@ -504,7 +504,7 @@ static void lua_initreadline (lua_State *L) {
|
|||
else {
|
||||
const char **name = cast(const char**, dlsym(lib, "rl_readline_name"));
|
||||
if (name != NULL)
|
||||
*name = "Lua";
|
||||
*name = "lua";
|
||||
l_readline = cast(l_readlineT, cast_func(dlsym(lib, "readline")));
|
||||
l_addhist = cast(l_addhistT, cast_func(dlsym(lib, "add_history")));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue