Skip to content
Myr

Remove unused field

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 368294e · Browse files · 1 file+1 added−2 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+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:src/terminal.go+1 added-2 removed
158 unmodified lines
159 hasBar bool160 result Result161 empty bool162 other bool163 minIndex int32163}164165func (t *Terminal) markEmptyLine(line int) {166 t.prevLines[line] = itemLine{firstLine: line, empty: true}
1811 unmodified lines
1978 }19791980 // Avoid unnecessary redraw1981 newLine := itemLine{firstLine: line, cy: index + t.offset, current: current, selected: selected, label: label,1983 result: result, queryLen: len(t.input), width: 0, hasBar: line >= barRange[0] && line < barRange[1], minIndex: t.merger.minIndex}1982 result: result, queryLen: len(t.input), width: 0, hasBar: line >= barRange[0] && line < barRange[1]}1983 prevLine := t.prevLines[line]1984 forceRedraw := prevLine.other || prevLine.firstLine != newLine.firstLine1985 printBar := func(lineNum int, forceRedraw bool) bool {1986 return t.printBar(lineNum, forceRedraw, barRange)
2758 unmodified lines