chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-12 22:52:55 +00:00
commit dbbe67f066
5 changed files with 10 additions and 58 deletions

View file

@ -180,10 +180,7 @@ const startRoute: TuiRouteCurrent = { name: "session", params: { sessionID: "ses
function findScrollBox(root: Renderable): ScrollBoxRenderable | undefined {
if (root instanceof ScrollBoxRenderable && containsDiff(root)) return root
return root
.getChildren()
.map(findScrollBox)
.find(Boolean)
return root.getChildren().map(findScrollBox).find(Boolean)
}
function containsDiff(root: Renderable): boolean {