dbg/input fix
This commit is contained in:
parent
43238dc299
commit
0ee9424283
|
@ -2,7 +2,6 @@
|
||||||
-- in your project
|
-- in your project
|
||||||
-- for debug tools
|
-- for debug tools
|
||||||
require "input"
|
require "input"
|
||||||
input.kbd_alt = true
|
|
||||||
execute_cmd = room {
|
execute_cmd = room {
|
||||||
nam = "Execute Lua code",
|
nam = "Execute Lua code",
|
||||||
debug = true,
|
debug = true,
|
||||||
|
@ -18,7 +17,11 @@ execute_cmd = room {
|
||||||
end
|
end
|
||||||
return back();
|
return back();
|
||||||
end,
|
end,
|
||||||
obj = { inp('{Enter cmd}:', 'return "Hello World!"'), vway('Back', '^{Back}', 'debug_dlg')}
|
act = function(s, w)
|
||||||
|
return back();
|
||||||
|
end,
|
||||||
|
obj = { inp('{Enter cmd}:', 'return "Hello World!"'),
|
||||||
|
vobj(1, 'Back', '^{Back}')}
|
||||||
}
|
}
|
||||||
|
|
||||||
choose_location = dlg {
|
choose_location = dlg {
|
||||||
|
|
|
@ -173,9 +173,9 @@ function kbdxlat(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
if input.kbd_alt then
|
if input.kbd_alt then
|
||||||
kbd = kbden;
|
kbd = kbdru;
|
||||||
else
|
else
|
||||||
kbd = kbdru
|
kbd = kbden
|
||||||
end
|
end
|
||||||
|
|
||||||
if kbd and input.kbd_shift then
|
if kbd and input.kbd_shift then
|
||||||
|
|
Reference in a new issue