erase line left should include cursor position
parent
a43c63111f
commit
a3409ac70d
|
|
@ -491,7 +491,7 @@ pub fn eraseLine(
|
|||
|
||||
.left => {
|
||||
const row = self.screen.getRow(self.screen.cursor.y);
|
||||
std.mem.set(Screen.Cell, row[0..self.screen.cursor.x], self.screen.cursor.pen);
|
||||
std.mem.set(Screen.Cell, row[0 .. self.screen.cursor.x + 1], self.screen.cursor.pen);
|
||||
|
||||
// Unsets pending wrap state
|
||||
self.screen.cursor.pending_wrap = false;
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue