mirror of
https://github.com/lua/lua
synced 2025-04-10 15:02:56 +03:00
new (smaller) prompt
This commit is contained in:
parent
45ccb0e881
commit
19c178fa14
4
lua.c
4
lua.c
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lua.c,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $
|
||||
** $Id: lua.c,v 1.2 1997/10/06 14:51:32 roberto Exp roberto $
|
||||
** Lua stand-alone interpreter
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -52,7 +52,7 @@ int main (int argc, char *argv[])
|
||||
lua_iolibopen();
|
||||
lua_strlibopen();
|
||||
lua_mathlibopen();
|
||||
lua_pushstring("Lua> "); lua_setglobal("_PROMPT");
|
||||
lua_pushstring("> "); lua_setglobal("_PROMPT");
|
||||
if (argc < 2) {
|
||||
printf("%s %s\n", LUA_VERSION, LUA_COPYRIGHT);
|
||||
manual_input();
|
||||
|
Loading…
x
Reference in New Issue
Block a user