1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-21 19:58:15 +03:00

Cell is no longer Copy

This will support Cells owning `Rc<>` to things like hyperlink
data or image data.
This commit is contained in:
Wez Furlong 2018-02-10 09:52:14 -08:00
parent 629a12a3a0
commit 76fe17b20b

View File

@ -339,7 +339,7 @@ impl Default for CellAttributes {
}
}
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
#[derive(Debug, Clone, Eq, PartialEq)]
pub struct Cell {
bytes: [u8; 8],
pub attrs: CellAttributes,
@ -644,7 +644,7 @@ impl Screen {
if x >= max_col {
break;
}
line.cells[x] = blank;
line.cells[x] = blank.clone();
}
}