aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-17 03:18:15 +0000
committerFuwn <[email protected]>2022-07-17 03:18:15 +0000
commit9a897bf017c90cdf762127f97fff892d3624fdbc (patch)
treea8c587729bbcb91c9abd3126ec14c86919ef02ff
parentfix(input): render colon as text, not input (diff)
downloadsydney-9a897bf017c90cdf762127f97fff892d3624fdbc.tar.xz
sydney-9a897bf017c90cdf762127f97fff892d3624fdbc.zip
feat(app): append meta to content
-rw-r--r--src/app.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index 278a96c..1873382 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -110,6 +110,9 @@ impl App {
self.response_input_text = response.meta().to_string();
}
+ items.push((vec![format!("{}", response.meta().to_string())], None));
+ items.push((vec!["".to_string()], None));
+
if let Some(content) = response.content().clone() {
for line in content.lines().clone() {
let line = line.replace('\t', " ");