Fix bug in vim visual block mode

This commit is contained in:
Conrad Irwin 2023-10-20 11:30:32 -06:00
parent 1c36134cf9
commit 352a554c74
2 changed files with 2 additions and 8 deletions

View file

@ -302,11 +302,7 @@ impl Line {
prev_x = glyph.position.x();
}
}
if self.width() - x < x - prev_x {
prev_index + 1
} else {
prev_index
}
prev_index
}
pub fn paint(