pages => views

pull/6/head
dvkt 5 years ago
parent 9ea40fed1d
commit 6040930aa2

@ -102,12 +102,12 @@ impl UI {
return self.fetch_help(url); return self.fetch_help(url);
} }
// gopher URL
status(&format!( status(&format!(
"{}Loading...{}", "{}Loading...{}",
color::Fg(color::LightBlack), color::Fg(color::LightBlack),
termion::cursor::Show termion::cursor::Show
)); ));
let (typ, host, port, sel) = gopher::parse_url(url); let (typ, host, port, sel) = gopher::parse_url(url);
let res = gopher::fetch(host, port, sel)?; let res = gopher::fetch(host, port, sel)?;
match typ { match typ {

Loading…
Cancel
Save