Fix test failure

This commit is contained in:
Junegunn Choi committed 2026-02-19 21:37:19 +09:00
1 parent 4a195e6323
commit 4a684b6c78
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -4369,7 +4369,7 @@ Loop:
prefixWidth := t.pwindow.X()
var url *url
_, _, ansi = extractColor(subLine, ansi, func(str string, ansi *ansiState) bool {
if fillRet == tui.FillNextLine {
if len(str) > 0 && fillRet == tui.FillNextLine {
printWrapSign()
prefixWidth = t.pwindow.X()
}