A lightweight programming environment for desktop and mobile devices
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