diff options
| author | Fuwn <[email protected]> | 2022-07-17 03:18:15 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-07-17 03:18:15 +0000 |
| commit | 9a897bf017c90cdf762127f97fff892d3624fdbc (patch) | |
| tree | a8c587729bbcb91c9abd3126ec14c86919ef02ff /src | |
| parent | fix(input): render colon as text, not input (diff) | |
| download | sydney-9a897bf017c90cdf762127f97fff892d3624fdbc.tar.xz sydney-9a897bf017c90cdf762127f97fff892d3624fdbc.zip | |
feat(app): append meta to content
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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', " "); |