on.initialize = function() App.mkdir(Directory) pcall(function() nativefs.mount(Legacy_directory, Directory) end) populate_missing_handlers() Font = love.graphics.newFont(Font_height) love.graphics.setFont(Font) Line_height = math.floor(Font_height*1.3) Line_number_padding = Line_number_width*Font:getWidth('m') Menu_left, Menu_top, Safe_width, Safe_height = love.window.getSafeArea() Menu_height = 5 + Line_height + 5 Menu_bottom = Menu_top + Menu_height load_example_panes() load_panes_from_previous_session() if #Panes == 0 then table.insert(Panes, new_pane()) end Current_pane_index = 1 Current_pane = Panes[Current_pane_index] end