mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-14 11:51:05 +08:00
Restore doc comment displaced by helper extraction
This commit is contained in:
+2
-2
@@ -1711,8 +1711,6 @@ func (t *Terminal) separatorLength() int {
|
|||||||
return t.separatorLen
|
return t.separatorLen
|
||||||
}
|
}
|
||||||
|
|
||||||
// The default horizontal separator is redundant if the input section is
|
|
||||||
// already visually separated from the list section by a border line
|
|
||||||
// Whether the input border draws a line on the side facing the list section.
|
// Whether the input border draws a line on the side facing the list section.
|
||||||
// BorderLine is placed on the facing side when resolved in NewTerminal.
|
// BorderLine is placed on the facing side when resolved in NewTerminal.
|
||||||
func inputBorderFacesList(layout layoutType, shape tui.BorderShape) bool {
|
func inputBorderFacesList(layout layoutType, shape tui.BorderShape) bool {
|
||||||
@@ -1725,6 +1723,8 @@ func inputBorderFacesList(layout layoutType, shape tui.BorderShape) bool {
|
|||||||
return shape.HasTop()
|
return shape.HasTop()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The default horizontal separator is redundant if the input section is
|
||||||
|
// already visually separated from the list section by a border line
|
||||||
func (t *Terminal) separatedByBorder() bool {
|
func (t *Terminal) separatedByBorder() bool {
|
||||||
// The input border itself draws a line on the side facing the list section
|
// The input border itself draws a line on the side facing the list section
|
||||||
if inputBorderFacesList(t.layout, t.inputBorderShape) {
|
if inputBorderFacesList(t.layout, t.inputBorderShape) {
|
||||||
|
|||||||
Reference in New Issue
Block a user