SIASJPGRZ55R5AY2Q7QO6CVBPVU5VHXQTSBWJQLXA3RAFFNBSHVQC
6MQCFHXML2SDC6NMWJFOPQFQTMRUVKNNUBYZQ3HBSJQZOWA6XD2QC
R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC
YV2GBDNWXXP5V4YJUSEA5M6A3QWLU4NX42K5FV4RJVHKPFED66IAC
OOSUBWKXQ3UAQOXDKBVBXHBZPTU2OVGFXZHBEXDEICFDHRGQIALQC
VUF2SX7BSB6DYFUCIS24UAMIQB4F3FLYSDLS5UXDCKIKPTWH4WWQC
ZM7NOBRMD5HHA35Y4JDC76EOA2RD4KQOQCPURXYKXA6ABMKOJIGQC
MJ6KKFVTYJDUPLERQZ7B7TU2N6VEMIR7AOUY6R46A6VVAFTVA5VAC
5RUFNRJOK3PXQKJTPDEN5K5PI67MGB25QUA44WOCCH2O5KHXT45QC
load_panes_from_previous_session = function()
if Initial_load_filenames == nil then return end
for _,filename in ipairs(Initial_load_filenames) do
table.insert(Panes, new_pane())
Current_pane_index = #Panes
Current_pane = Panes[Current_pane_index]
Current_pane.filename = filename
one_time_load()
end
end
-- List of filenames loaded from settings that on.initialize will load into Panes.
-- It's particularly unfortunate that this is a global.
Initial_load_filenames = nil
filenames_from_all_panes = function()
local result = {}
for _,pane in ipairs(Panes) do
if pane.filename then
table.insert(result, pane.filename)
end
end
return result
end