summaryrefslogtreecommitdiffstats
path: root/ui/src/components/mail/view
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2019-04-06 01:08:33 +0300
committerManos Pitsidianakis <el13635@mail.ntua.gr>2019-06-10 19:40:43 +0300
commit6b3c4d57d6282d94b730d195fc69ae0e1f64ae55 (patch)
tree94131632c8cd0a645fe0755df6ba75e7493bf2c0 /ui/src/components/mail/view
parentce2317da9566d0aa9fbe97286fe097e57867102a (diff)
ui: add mailer setting and send shortcut in composer
Diffstat (limited to 'ui/src/components/mail/view')
-rw-r--r--ui/src/components/mail/view/envelope.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/src/components/mail/view/envelope.rs b/ui/src/components/mail/view/envelope.rs
index 5c490579..51299f12 100644
--- a/ui/src/components/mail/view/envelope.rs
+++ b/ui/src/components/mail/view/envelope.rs
@@ -125,8 +125,11 @@ impl EnvelopeView {
.unwrap()
.write_all(&v)
.expect("Failed to write to stdin");
- *v = format!("Text piped through `{}`. Press `v` to open in web browser. \n\n",
- filter_invocation).into_bytes();
+ *v = format!(
+ "Text piped through `{}`. Press `v` to open in web browser. \n\n",
+ filter_invocation
+ )
+ .into_bytes();
v.extend(html_filter.wait_with_output().unwrap().stdout);
}
}