diff --git a/internal/tui/exp/list/list.go b/internal/tui/exp/list/list.go index 8b729565f99d83accdebc0bc077963a7b25f8a34..4a9db7351ef561ec14414e4f70f1973f3d207064 100644 --- a/internal/tui/exp/list/list.go +++ b/internal/tui/exp/list/list.go @@ -389,6 +389,11 @@ func (l *list[T]) selectionView(view string, textOnly bool) string { textBounds := lineTextBounds[y] if textBounds.start < 0 { + if textOnly { + // We don't want to get rid of all empty lines in text-only mode + selectedText.WriteByte('\n') + } + continue // No text on this line }