Template repo for tiny cross-platform apps that can be modified on phone, tablet or computer.
stash_pane = function(pane)
	local src = Directory..pane.filename
	local contents, error = love.filesystem.read(src)
	if not contents then return print_to_output(error) end
	love.filesystem.createDirectory(Stash_directory)
	local stash_filename = next_stash_filename(pane.filename)
	local dest = Stash_directory..stash_filename
	local success, error = love.filesystem.write(dest, contents)
	if not success then return print_to_output(error) end
	love.filesystem.remove(src)
	pane.filename = stash_filename
	pane.is_stash = true
end