mirror of
https://github.com/usestrix/strix.git
synced 2026-08-21 02:45:31 +02:00
fix(tui): show 'more content available' for view_request over 15 lines (#687)
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user