Skip to content

fix: ignore CSI < and CSI = private parameter sequences#515

Merged
wyu71 merged 1 commit intolinuxdeepin:masterfrom
wyu71:master
Apr 14, 2026
Merged

fix: ignore CSI < and CSI = private parameter sequences#515
wyu71 merged 1 commit intolinuxdeepin:masterfrom
wyu71:master

Conversation

@wyu71
Copy link
Copy Markdown
Contributor

@wyu71 wyu71 commented Apr 14, 2026

Silently ignore unrecognized CSI sequences with < and = private parameter prefixes to prevent residual character output.

静默忽略未识别的带 < 和 = 私有参数前缀的 CSI 序列,
防止残留字符输出。

Log: 修复退出Claude Code时终端输出u字符的问题
PMS: BUG-356495
Influence: 修复后支持Kitty键盘协议的CSI <和CSI =序列,退出Claude Code等程序时不再有残留字符输出。

Silently ignore unrecognized CSI sequences with < and = private
parameter prefixes to prevent residual character output.

静默忽略未识别的带 < 和 = 私有参数前缀的 CSI 序列,
防止残留字符输出。

Log: 修复退出Claude Code时终端输出u字符的问题
PMS: BUG-356495
Influence: 修复后支持Kitty键盘协议的CSI <和CSI =序列,退出Claude Code等程序时不再有残留字符输出。
@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lzwind, wyu71

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wyu71 wyu71 merged commit a897764 into linuxdeepin:master Apr 14, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants