Skip to content
Myr

Update comments

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

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:src/terminal.go+1 added-3 removed
4734 unmodified lines
4735 minPreviewHeight--47364737 previewLeft := t.pwindow.Left()4738 previewTop := t.pwindow.Top()4739 // Unlike window, pwindow does not include it's border, so4740 // Left and Top have to be adjusted.4739 // pwindow does not include it's border, so Left and Top have to be adjusted.4740 if t.activePreviewOpts.border.HasLeft() {4741 previewLeft -= 1 + t.borderWidth4742 }4743 if t.activePreviewOpts.border.HasTop() {
16 unmodified lines
4760 left := previewLeft + minPreviewWidth4761 // +1 since index to size4762 newSize = mx - left + 14763 }4765 // TODO: should this allow a size of zero?4764 if newSize < 1 {4765 newSize = 14766 }4767
497 unmodified lines