mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Let ctrl-c interrupt lua server pages in repl mode
This commit is contained in:
parent
178a6da4b9
commit
54e6f564c1
3 changed files with 32 additions and 3 deletions
1
third_party/lua/lrepl.h
vendored
1
third_party/lua/lrepl.h
vendored
|
@ -28,6 +28,7 @@ extern linenoiseCompletionCallback *lua_repl_completions_callback;
|
|||
void lua_freerepl(void);
|
||||
int lua_loadline(lua_State *);
|
||||
void lua_l_print(lua_State *);
|
||||
void lua_sigint(lua_State *, int);
|
||||
void lua_initrepl(lua_State *, const char *);
|
||||
int lua_report(lua_State *, int);
|
||||
int lua_runchunk(lua_State *, int, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue