Better UI, needs two keys to close :(

This commit is contained in:
John Doty 2022-10-10 05:33:27 +00:00
parent 2d9b9dbf9a
commit de6607eb25
4 changed files with 106 additions and 21 deletions

View file

@ -359,7 +359,7 @@ async fn client_main<Reader: AsyncRead + Unpin, Writer: AsyncWrite + Unpin>(
if let Err(e) = refresher.send(Message::Refresh).await {
break Err::<(), _>(e);
}
sleep(Duration::from_millis(100)).await;
sleep(Duration::from_millis(500)).await;
}
}, if !done_writing => {
if let Err(e) = result {