summaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-12-01 01:02:48 +0200
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-12-01 01:04:27 +0200
commit7db32ff1b382bcdd562909855893dd4252d2e41e (patch)
tree1923937981a0771f97eaca7cd46e11f45e668fea /src/components
parent857d4d546f0ef9b0a766305560bdc8d1a30f746d (diff)
terminal/cells: return success flag in CellBuffer::resize()
Diffstat (limited to 'src/components')
-rw-r--r--src/components/contacts.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/contacts.rs b/src/components/contacts.rs
index fdac638a..4bb1e852 100644
--- a/src/components/contacts.rs
+++ b/src/components/contacts.rs
@@ -105,7 +105,8 @@ impl ContactManager {
if self.card.external_resource() {
self.mode = ViewMode::ReadOnly;
- self.content
+ let _ = self
+ .content
.resize(self.content.size().0, 2, Cell::default());
write_string_to_grid(
"This contact's origin is external and cannot be edited within meli.",