Skip to content

[Bug] 在多个常见Coding TUI中的热键异常,疑似PowerShell的键盘码传递有问题 #2974

Description

@GOUKI9999

Operating system

Windows

Netcatty version

1.1.79

How did you install Netcatty?

GitHub Release (.dmg / .exe / .AppImage / .deb / .rpm / .pacman)

Affected area

SSH connection / terminal

Can you reproduce it?

Always (100%)

Steps to reproduce

在netcatty中启动powershell 启动 codex TUI
当输入shfit + enter试图换行无效
查看tui内部的keymap debug,发现实际输入的是ctrl + enter
换行只能使用alt + enter,同时比如ctrl+J 等也无效
但在其他tui没有问题,比如claude code / opencode / grok 等
我查看了热键设置,没有shift +enter的热键映射
并打开 /关闭了 catty协议都进行了测试

同时因为直接打开power shell ,再启动codex tui,是没有这个问题的
所以应该是发送文本的问题

但如果不使用发送文本,则claude code等换行无效

Expected behavior

shift+enter在codex中也正常工作

准确说是不是应该有一个如果terminal内启动了gui,则netcatty层不再做热键或者映射处理,直传键盘给TUI的功能

Actual behavior

关闭 shift+enter 发送 \n
则claud code等又不能换行
默认设置codex无法换行

Logs / screenshots

No response

Before submitting

  • I searched existing issues and did not find a duplicate
  • I removed passwords, private keys, and other secrets from this report

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingready-for-humanRequires human implementationtriageTouched by Cursor automationtriage:admittedReserved for serialized automatic issue triage admissiontriage:bug-readyConfirmed Netcatty bug ready for automatic implementation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions