2023-11-15 14:06:56 +00:00
|
|
|
on.text_input = function(t)
|
2023-11-22 03:17:49 +00:00
|
|
|
if Show_code then
|
|
|
|
if Current_pane.editor_state.cursor_x then
|
|
|
|
edit.text_input(Current_pane.editor_state, t)
|
|
|
|
end
|
|
|
|
else
|
|
|
|
-- editors hidden
|
|
|
|
if car.text_input then car.text_input(t) end
|
|
|
|
if car.textinput then car.textinput(t) end
|
2023-11-20 18:26:14 +00:00
|
|
|
end
|
2023-11-15 14:06:56 +00:00
|
|
|
end
|