CH3SH-LC/dsh-enter0

dsh-enter

Left Ctrl+Enter inserts a newline in the DSH composer, mirroring Shift+Enter

AI Analysis

核心用途是修改 DSH Web 输入框的快捷键行为,支持使用左 Ctrl+Enter 进行换行。适合习惯该快捷键操作、希望优化输入体验的用户。

Package
dsh-enter
Version
0.1.0
License
MIT
Last updated
Aug 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

dsh-enter

DeepSeek Harness Web GUI 的客户端插件: 在对话框里按 Ctrl+Enter(左 Ctrl) 插入换行,与 Shift+Enter 一致。

功能

按键行为
Enter发送
Shift+Enter换行(原生)
Ctrl+Enter(左 Ctrl)换行
右 Ctrl+Enter / Cmd+Enter加速发送

左/右 Ctrl 通过 KeyboardEvent.location 区分;无法报告物理位置的环境(location 为 0, 如部分键盘映射、输入法、远程输入)下,Ctrl+Enter 一律视为左 Ctrl 换行。

安装

  1. 把插件链接进 web profile:

    dsh plugin --profile web add .
    

    或手动将本目录链接到 $DSH_HOME/profiles/web/node_modules/dsh-enter

  2. $DSH_HOME/cordis.patch.yml 中加入:

    - insert:
        - id: dsh-enter
          name: dsh-enter
    
  3. 刷新页面后生效(HMR 不会自动装载启动后新增的插件,必须刷新一次)。

许可证

MIT