Skip to content

终端输出内容对用户不可见 / 输出显示异常 || The terminal output content is not visible to the user/the output display is abnormal #727

@53422245

Description

@53422245

What version of Kimi Code CLI is running?

kimi, version 1.1

Which open platform/subscription were you using?

kimi-for-coding

Which model were you using?

kimi-for-coding

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

在一个生成ssh的rsa密钥并输出到powershell脚本和changelog的会话中,通过 Kimi Code CLI 执行命令查看文件内容时,助手返回了文件内容,但用户终端显示"什么都没看到"。

╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ cat ~/.ssh/id_rsa.pub                                                                                                                                                                                         │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
• 用户想查看刚才生成的 SSH 公钥内容。我需要读取这个文件并显示给用户。
• Used ReadFile (C:\Users\53422\.ssh\id_rsa.pub)
• 这是用户的 SSH 公钥内容。我需要显示给用户。
•

What steps can reproduce the bug?

开一个新的powershell窗口,输入kimi后,直接输入 cat ~/.ssh/id_rsa.pub 能正常输出,如下(公钥已替换为xxx):

╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ cat ~/.ssh/id_rsa.pub                                                                                                                                                                                         │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
• The user wants me to display the contents of their SSH public key file. I'll use the Shell tool to read this file.
• Used Shell (cat ~/.ssh/id_rsa.pub)
• The command was successful and the SSH public key is displayed. I should show this to the user.
• Your SSH public key is:

  ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

What is the expected behavior?

No response

Additional information

No response


What version of Kimi Code CLI is running?

kimi, version 1.1

Which open platform/subscription were you using?

kimi-for-coding

Which model were you using?

kimi-for-coding

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

In a session that generates an rsa key for ssh and outputs it to a powershell script and changelog, when executing a command to view the file content through the Kimi Code CLI, the assistant returns the file content, but the user terminal displays "nothing is seen".

╭───────────────────────────────────────────────────────────────────────────────────────── ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ cat ~/.ssh/id_rsa.pub │
╰────────────────────────────────────────────────────────────────────────────────────── ──────────────────────────────────────────────────────────────────────────────────────────────╯
• The user wants to view the contents of the SSH public key just generated. I need to read this file and display it to the user.
• Used ReadFile (C:\Users\53422\.ssh\id_rsa.pub)
• This is the contents of the user's SSH public key. I need to show it to the user.
•

What steps can reproduce the bug?

Open a new powershell window, enter kimi, and directly enter cat ~/.ssh/id_rsa.pub to get normal output, as follows (the public key has been replaced by xxx):

╭───────────────────────────────────────────────────────────────────────────────────────── ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ cat ~/.ssh/id_rsa.pub │
╰────────────────────────────────────────────────────────────────────────────────────── ──────────────────────────────────────────────────────────────────────────────────────────────╯
• The user wants me to display the contents of their SSH public key file. I'll use the Shell tool to read this file.
• Used Shell (cat ~/.ssh/id_rsa.pub)
• The command was successful and the SSH public key is displayed. I should show this to the user.
• Your SSH public key is:

  ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions