mirror of
https://github.com/openclaw/openclaw.ai.git
synced 2026-07-15 12:25:40 -04:00
WSL2 / UBUNTU Uncaught exception: Error: Rendered line 127 exceeds terminal width (249 > 237). #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chataros on GitHub (Jan 31, 2026).
[openclaw] Uncaught exception: Error: Rendered line 127 exceeds terminal width (249 > 237).
This is likely caused by a custom TUI component not truncating its output.
Use visibleWidth() to measure and truncateToWidth() to truncate lines.
Debug log written to: /root/.pi/agent/pi-crash.log
at TUI.doRender (file:///usr/lib/node_modules/openclaw/node_modules/@mariozechner/pi-tui/dist/tui.js:740:23)
at file:///usr/lib/node_modules/openclaw/node_modules/@mariozechner/pi-tui/dist/tui.js:250:18
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
@soma115 commented on GitHub (Feb 2, 2026):
This issue shows up when I'm trying to change model with
/model.I'm using Synthetic.ai and one of the models they provide have very long name.
@pagsjarvis-oss commented on GitHub (Feb 10, 2026):
Fix submitted: https://github.com/openclaw/openclaw/pull/13726
The TUI footer and header were not truncating text to terminal width. When a model name is very long (e.g. from Synthetic.ai), the rendered line exceeds terminal width and crashes pi-tui.
The fix:
…long-model-name)truncateToWidth()from pi-tui to both header and footer as a safety netprocess.stdout.columns