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:
parent
629a12a3a0
commit
76fe17b20b
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user