Commit Briefs
delay erase_buffer until parser_init
The idea is to handle better non-displayable pages (like images), and keeping the old page until the server replies is the first step. It also simplifies the memory management btw.
support xdg basedir
Use XDG-compliant paths unless ~/.telescope already exists. Provide a script to migrate to XDG-style directory for users who wish to do so.
add a safe/sandbox mode
When enabled with the -S (or --safe) flag, prevent telescope from writing files to the disk.
handle_maybe_save_page: prefill with the path
improve the download procedure by pre-filling the minibuffer with /tmp/<file-name>. At the moment ``/tmp/'' is hardcoded. Idea from a conversation with hurricane, thanks!
gopher: don't skip the initial /
some gopher servers requires the selector to start with a slash. Or maybe it's the other way around, and some servers are too much forgiving.
improve crash detection
Create a file ~/.telescope/crashed on startup and unlink it on shutdown. If it's present on startup, it means that last time we crashed. It's like the ``dirty'' bit on filesystems to guard for unproper unmounts.