mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
plugins/console: (nw)
This commit is contained in:
parent
fad9a96cb0
commit
68ff36882c
@ -31,7 +31,7 @@ function console.startplugin()
|
|||||||
scr = scr .. "end)\n"
|
scr = scr .. "end)\n"
|
||||||
scr = scr .. "return ln.linenoise('\x1b[1;36m[MAME]\x1b[0m> ')"
|
scr = scr .. "return ln.linenoise('\x1b[1;36m[MAME]\x1b[0m> ')"
|
||||||
|
|
||||||
function get_completions(str)
|
local function get_completions(str)
|
||||||
local function is_pair_iterable(t)
|
local function is_pair_iterable(t)
|
||||||
local mt = getmetatable(t)
|
local mt = getmetatable(t)
|
||||||
return type(t) == 'table' or (mt and mt.__pairs)
|
return type(t) == 'table' or (mt and mt.__pairs)
|
||||||
|
Loading…
Reference in New Issue
Block a user