pull/14/head
dvkt 4 years ago
parent 967c2f018e
commit 925db458fc

@ -4,7 +4,7 @@
| )| )|___)| | | )
|__/ | / |__ |__ |__ | /
|
--> <p align="center"> <img src="./img/logo.png"> <br>
--> <p align="center"> <img src="./img/logo.png"> <br>
<a href="https://github.com/dvkt/phetch/releases">
<img src="https://img.shields.io/github/v/release/dvkt/phetch?include_prereleases">
</a>
@ -69,7 +69,6 @@ phetch with `-l` or `--local` to quickly connect to it.
## todo
- [ ] fork+exec telnet: gopher://bitreich.org/1/lawn/bbs
- [ ] TLS -- https://dataswamp.org/~solene/2019-03-07-gopher-server-tls.html
- [ ] ~/.config/phetch/phetch.conf
## bugs

@ -95,7 +95,7 @@ pub fn download_url(url: &str, try_tls: bool) -> Result<(String, usize)> {
bytes += count;
file.write(&buf[..count]);
if let Some(Ok(termion::event::Key::Ctrl('c'))) = keys.next() {
return Err(error!("Download canceled"));
return Err(error!("Download cancelled"));
}
}
Ok((filename.to_string(), bytes))

Loading…
Cancel
Save