Skip to content

Kimi 在宽度极小的终端选择/Sessions 里会崩溃!!!!! #240

@mydoge

Description

@mydoge

What version of Kimi Code is running?

当前最新版

Which open platform/subscription were you using?

kimicode

Which model were you using?

最新版

What platform is your computer?

No response

What issue are you seeing?

Image

/Users/runner/work/kimi-code/kimi-code/apps/kimi-code/dist-native/intermediates/main.cjs:134190
throw new Error(errorMsg);
^

Error: Rendered line 17 exceeds terminal width (47 > 43).

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: /Users/getlong/.pi/agent/pi-crash.log
at TUI.doRender (/Users/runner/work/kimi-code/kimi-code/apps/kimi-code/dist-native/intermediates/main.cjs:134190:11)
at Timeout._onTimeout (/Users/runner/work/kimi-code/kimi-code/apps/kimi-code/dist-native/intermediates/main.cjs:133772:9)
at listOnTimeout (node:internal/timers:605:17)
at process.processTimers (node:internal/timers:541:7)

Node.js v24.15.0


呼出kimi 然后输入 /sessions 就会崩溃!! ChatGPT说是 “当前终端宽度太小导致的爆炸” ,希望尽快修复 !

What steps can reproduce the bug?

Image

/Users/runner/work/kimi-code/kimi-code/apps/kimi-code/dist-native/intermediates/main.cjs:134190
throw new Error(errorMsg);
^

Error: Rendered line 17 exceeds terminal width (47 > 43).

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: /Users/getlong/.pi/agent/pi-crash.log
at TUI.doRender (/Users/runner/work/kimi-code/kimi-code/apps/kimi-code/dist-native/intermediates/main.cjs:134190:11)
at Timeout._onTimeout (/Users/runner/work/kimi-code/kimi-code/apps/kimi-code/dist-native/intermediates/main.cjs:133772:9)
at listOnTimeout (node:internal/timers:605:17)
at process.processTimers (node:internal/timers:541:7)

Node.js v24.15.0


呼出kimi 然后输入 /sessions 就会崩溃!! ChatGPT说是 “当前终端宽度太小导致的爆炸” ,希望尽快修复 !

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions