diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-10-06 11:28:12 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-10-06 11:32:35 +0300 |
commit | 6f816d29c56ffcdb8937464ac3e460c63135979a (patch) | |
tree | 6b376b986af65930b53e8c1fe070a0c411293bdd /ui/src/components/mail/view/thread.rs | |
parent | b25f10f92a299309a8319c22c3ca0c7da8b6689f (diff) |
conf: add ascii_drawing option
If set to true, box drawing is done with ascii characters.
Diffstat (limited to 'ui/src/components/mail/view/thread.rs')
-rw-r--r-- | ui/src/components/mail/view/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/mail/view/thread.rs b/ui/src/components/mail/view/thread.rs index f84ad207..a5100e66 100644 --- a/ui/src/components/mail/view/thread.rs +++ b/ui/src/components/mail/view/thread.rs @@ -222,7 +222,7 @@ impl ThreadView { e.heading = string; width = cmp::max(width, e.index.0 * 4 + e.heading.grapheme_width() + 2); } - let mut content = CellBuffer::new(width, height, Cell::default()); + let mut content = CellBuffer::new_with_context(width, height, Cell::default(), context); if self.reversed { for (y, e) in self.entries.iter().rev().enumerate() { /* Box character drawing stuff */ |