From 3bb096e6a1a6ceb72c700158f485c76922c3c597 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 18 Jul 2026 02:01:15 +0900 Subject: [PATCH] Restore doc comment displaced by helper extraction --- src/terminal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal.go b/src/terminal.go index 294c9162..1aaece74 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -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) {