aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-17 03:44:47 +0000
committerFuwn <[email protected]>2022-07-17 03:44:47 +0000
commit897226d9d8e0041b1e64d2d407d11dfc5bcd8c60 (patch)
tree4b4719166fb0f0641bd18214f4fce33aedc3bb41
parentfeat(Cargo.toml): bump version (diff)
downloadsydney-0.1.2.tar.xz
sydney-0.1.2.zip
feat(app): show old content when inputtingv0.1.2
-rw-r--r--Cargo.toml2
-rw-r--r--src/app.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 45db76e..4539964 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "sydney"
-version = "0.1.1"
+version = "0.1.2"
authors = ["Fuwn <[email protected]>"]
edition = "2021"
description = "Vim-like, Command-line Gemini Client"
diff --git a/src/app.rs b/src/app.rs
index 1873382..f4585c8 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -108,6 +108,7 @@ impl App {
{
self.accept_response_input = true;
self.response_input_text = response.meta().to_string();
+ items = self.items.items.clone();
}
items.push((vec![format!("{}", response.meta().to_string())], None));