diff --git a/src/ui.rs b/src/ui.rs index 1b69061..1596539 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -79,6 +79,8 @@ impl UI { } pub fn open(&mut self, url: &str) { + print!("\r\x1b[90mLoading...\x1b[0m\x1b[K"); + stdout().flush(); self.dirty = true; let (typ, host, port, sel) = gopher::parse_url(url); let response = gopher::fetch(host, port, sel)