Use a filler char other than space

This commit is contained in:
Kovid Goyal
2023-03-28 18:01:04 +05:30
parent 67a9def013
commit 7ed7e82637
2 changed files with 11 additions and 9 deletions

View File

@@ -370,7 +370,7 @@ func (self *Handler) draw_screen() {
sl = self.current_search.markup_line(sl, pos)
}
sl = self.add_mouse_selection_to_line(sl, pos, num_written)
lp.QueueWriteString(sl)
lp.QueueWriteString(strings.ReplaceAll(sl, FILLER_CHAR, " "))
lp.MoveCursorVertically(1)
lp.QueueWriteString("\x1b[m\r")
if self.logical_lines.IncrementScrollPosBy(&pos, 1) == 0 {