Skip to content
Myr

Display scroll indicator in preview window

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 51f5326 · Browse files · 1 file+5 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:src/terminal.go+5 added
820 unmodified lines
821 return t.pwindow.CFill(str, ansi.fg, ansi.bg, ansi.attr)822 }823 return t.pwindow.Fill(str)824 })825 if t.previewer.offset > 0 {826 offset := fmt.Sprintf("%d/%d", t.previewer.offset+1, t.previewer.lines)827 t.pwindow.Move(0, t.pwindow.Width-len(offset))828 t.pwindow.CPrint(C.ColInfo, C.Reverse, offset)829 }830}831832func processTabs(runes []rune, prefixWidth int) (string, int) {833 var strbuf bytes.Buffer
720 unmodified lines