hacky, but ignore help urls

pull/6/head
dvkt 5 years ago
parent 0293200d92
commit d9d10084cc

@ -50,6 +50,10 @@ pub fn save(url: &str, label: &str) {
.open(history)
{
let (t, host, port, sel) = gopher::parse_url(&url);
// ignore internal URLs
if host == "help" {
return;
}
file.write_all(
format!(
"{}{}\t{}\t{}\t{}\r\n",

Loading…
Cancel
Save