1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 14:52:19 +03:00

GH-221 Fix cursor drawing in the command area

This commit is contained in:
Tae Won Ha 2016-08-01 21:55:41 +02:00
parent 7aa2875ef6
commit d9a5e907e0
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -809,6 +809,7 @@ extension NeoVimView: NeoVimUiBridgeProtocol {
// redraw the put position.
if self.usesLigatures {
self.setNeedsDisplay(region: self.grid.regionOfWord(at: self.grid.putPosition))
self.setNeedsDisplay(cellPosition: self.grid.nextCellPosition(self.grid.putPosition))
self.setNeedsDisplay(region: self.grid.regionOfWord(at: screenCursor))
} else {
self.setNeedsDisplay(cellPosition: self.grid.putPosition)