Fix test failure

This commit is contained in:
Junegunn Choi
2026-02-19 21:30:46 +09:00
parent 4a195e6323
commit 4a684b6c78
2 changed files with 7 additions and 7 deletions

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()
}