fix(tui): show 'more content available' for view_request over 15 lines (#687)

This commit is contained in:
sean-kim05
2026-07-06 03:50:02 -07:00
committed by GitHub
parent 302efedca6
commit aec5f14455
2 changed files with 47 additions and 1 deletions
@@ -191,7 +191,7 @@ class ViewRequestRenderer(BaseToolRenderer):
if i < len(lines) - 1:
text.append("\n")
if has_more or len(lines) > 15:
if has_more or len(content.split("\n")) > 15:
text.append("\n")
text.append(" ... more content available", style="dim italic")