Restore doc comment displaced by helper extraction

This commit is contained in:
Junegunn Choi
2026-07-18 02:01:15 +09:00
parent d8aa01dcf2
commit 3bb096e6a1
+2 -2
View File
@@ -1711,8 +1711,6 @@ func (t *Terminal) separatorLength() int {
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.
// BorderLine is placed on the facing side when resolved in NewTerminal.
func inputBorderFacesList(layout layoutType, shape tui.BorderShape) bool {
@@ -1725,6 +1723,8 @@ func inputBorderFacesList(layout layoutType, shape tui.BorderShape) bool {
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 {
// The input border itself draws a line on the side facing the list section
if inputBorderFacesList(t.layout, t.inputBorderShape) {