15 lines
371 B
Plaintext
15 lines
371 B
Plaintext
on.key_release = function(key, scancode)
|
|
if Show_code then
|
|
if Current_pane.editor_state.cursor_x then
|
|
edit.key_release(Current_pane.editor_state, key, scancode)
|
|
end
|
|
else
|
|
-- editors hidden
|
|
if car.key_release then
|
|
call_protected(car.key_release, key, scancode)
|
|
end
|
|
if car.keyreleased then
|
|
call_protected(car.keyreleased, key, scancode)
|
|
end
|
|
end
|
|
end |