Fix highlighting at the end of line (#1705)

Fixes #1664
This commit is contained in:
Dmitry Maluka
2020-06-05 05:32:31 +02:00
committed by GitHub
parent 07860b8973
commit 63900cb395

View File

@@ -666,7 +666,8 @@ func (w *BufWindow) displayBuffer() {
}
if vloc.X != bufWidth {
draw(' ', nil, curStyle, true)
// Display newline within a selection
draw(' ', nil, config.DefStyle, true)
}
bloc.X = w.StartCol