Fix bug in vim visual block mode
This commit is contained in:
parent
1c36134cf9
commit
352a554c74
2 changed files with 2 additions and 8 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue