Current design choices:
BWZW73XTQVQAMNAPK7MLQGANDOTWQ6RY5NEN7QUYK6KXNQC4CFJAC YRN76EXV3KEOH3TD23RSL56RB2UJPBB7OC7PT64GSVWVTJUOJGFQC R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC RLXBO23FJSCZNRFBF4PN4JHHS3PASDS5IMQIVD54VHKLJ4BHJGCAC GYFNSF33NGUAYEECESFKCSE4BYYFQGOF5XTQI4NQKXUUBTARHBVQC 5RUFNRJOK3PXQKJTPDEN5K5PI67MGB25QUA44WOCCH2O5KHXT45QC NM2SILGFTYCIH7TDU3PU3U67J5KLZMDERTFLZQ3DA7WYGWPKEHKAC can_be_unstashed = function(pane)if not pane.is_stash then return endassert(pane.filename)local filename = unstash_filename(pane.filename)return not nativefs.getInfo(App.save_dir..Directory..filename)end
unstash_filename = function(filename)return filename:gsub('%..*', '')end
unstash_pane = function(pane)local src = Stash_directory..pane.filenamelocal contents, error = love.filesystem.read(src)if not contents then return print_to_output(error) endlove.filesystem.createDirectory(Directory)local filename = unstash_filename(pane.filename)local dest = Directory..filenamelocal success, error = love.filesystem.write(dest, contents)if not success then return print_to_output(error) endpane.filename = filenamepane.is_stash = nilend
press_unstash_button = function()-- disable local modifications to a file without deleting it or saving the paneShow_menu = nilunstash_pane(Current_pane)end
unstash_button = function(x,y, r)return overflowable_button('unstash', x, y, r, press_unstash_button)end