Draw strikeout cells
This commit is contained in:
parent
f024522675
commit
89f51bd6a5
|
@ -215,6 +215,14 @@ impl App {
|
|||
buffer[px_start + x as usize] = color;
|
||||
}
|
||||
}
|
||||
|
||||
if cell.flags.contains(CellFlags::STRIKEOUT) {
|
||||
let px_start = px_start + (self.cell_height >> 1) * width;
|
||||
|
||||
for x in 0..self.cell_width {
|
||||
buffer[px_start + x as usize] = fg;
|
||||
}
|
||||
}
|
||||
|
||||
if cell.flags.contains(CellFlags::UNDERLINE) {
|
||||
let px_start = px_start + (self.cell_height - 1) * width;
|
||||
|
|
Loading…
Reference in New Issue