File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ int main(int argc, const char **argv)
340340 SetConsoleCP (opt_codepage );
341341#endif
342342 if (!game ) {
343- printf ("instead-cli %s (by Peter Kosyh '2021-2022 )\n" , VERSION );
343+ printf ("instead-cli %s (by Peter Kosyh '2021-2025 )\n" , VERSION );
344344 fprintf (stdout , "Usage: %s [-d<file>] [-w<width>] [-i<script>] [-l<log>] [-a] <game>\n" , argv [0 ]);
345345 exit (1 );
346346 }
Original file line number Diff line number Diff line change 77if API == ' stead3' then
88 require ' tiny3'
99 require " ext/sound"
10+ LANG = ' en'
1011 local instead = std ' @instead'
1112 local iface = std ' @iface'
1213 instead .music_callback = function () end
1314 instead .restart = instead_restart
1415 instead .menu = instead_menu
1516 instead .savepath = function () return " ./" end
1617 std .savepath = instead .savepath
18+ local iface_cmd = iface .cmd
19+ function iface :cmd (inp )
20+ local a = std .split (inp , " ," )
21+ if a [1 ] == ' use' and # a == 3 then -- use a b -> use a,b
22+ std .table .remove (a , 1 )
23+ return iface_cmd (self , ' use ' .. std .join (a , ' ,' ))
24+ end
25+ return iface_cmd (self , inp )
26+ end
1727 function iface :em (str )
1828 if type (str ) == ' string' then
1929 return ' /' .. str .. ' /'
You can’t perform that action at this time.
0 commit comments