
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-ctrl-enter-submit
Advanced tools
DeepSeek Harness 插件:将对话框提交快捷键改为 Ctrl/Cmd+Enter,普通 Enter 换行,可在设置中随时开关。 / A DSH plugin that makes Enter insert a newline and Ctrl/Cmd+Enter submit, toggleable in settings.
English | 中文
DeepSeek Harness (DSH) 插件:将对话框的提交快捷键从 Enter 改为 Ctrl/Cmd+Enter,普通 Enter 用于换行。可在「设置 → 插件」中随时开关,禁用后恢复默认行为。
| 按键 | 插件启用时 | 插件禁用后 |
|---|---|---|
| Enter | 换行(不提交) | 提交消息 |
| Ctrl/Cmd+Enter | 提交消息 | 提交消息(DSH 原本就支持) |
| Shift+Enter | 换行(不变) | 换行(不变) |
/ 和 @ 触发菜单打开时,Enter 仍然正常选择菜单项,不会被拦截。输入法组合状态下也不会被拦截。
从插件市场安装:打开 Settings → Plugin Market,搜索 dsh-ctrl-enter-submit,一键安装。
或用命令行:
dsh plugin --profile web add dsh-ctrl-enter-submit
安装后刷新浏览器页面即可生效(纯客户端插件,无需重启服务)。
在 DSH Web 界面的 设置 → 插件(Plugins) 中找到 ctrl-enter-submit,用开关切换:
卸载:
dsh plugin --profile web remove dsh-ctrl-enter-submit
插件在浏览器端的 document 捕获阶段拦截 keydown 事件:
textarea//@ 菜单打开):调用 stopImmediatePropagation() 阻止事件冒泡到 React 的 onKeyDown 处理器(即 DSH 的提交逻辑),但不调用 preventDefault(),因此 textarea 照常换行0.1.0-rc.6 或更高版本A DeepSeek Harness (DSH) plugin that changes the composer submit shortcut from Enter to Ctrl/Cmd+Enter, so plain Enter inserts a newline. Toggle it on/off anytime in Settings → Plugins; disabling restores the default Enter-submit behavior.
| Key | Plugin enabled | Plugin disabled |
|---|---|---|
| Enter | Newline (no submit) | Submits the message |
| Ctrl/Cmd+Enter | Submits the message | Submits (DSH supports this natively) |
| Shift+Enter | Newline (unchanged) | Newline (unchanged) |
When the / or @ candidate menu is open, Enter selects the highlighted item as usual. IME composition is never intercepted.
From the Plugin Market: open Settings → Plugin Market, search for dsh-ctrl-enter-submit, and install with one click.
Or from the command line:
dsh plugin --profile web add dsh-ctrl-enter-submit
Refresh the browser page after installing (client-only plugin, no restart needed).
Find ctrl-enter-submit in Settings → Plugins and toggle it:
To uninstall:
dsh plugin --profile web remove dsh-ctrl-enter-submit
The plugin intercepts keydown on document during the capture phase, scoped to the composer textarea:
//@ menu open) calls stopImmediatePropagation() so React's onKeyDown handler (DSH's submit logic) never sees it, but it does not call preventDefault(), so the textarea inserts a newline normally.0.1.0-rc.6 or later.MIT
FAQs
DeepSeek Harness 插件:将对话框提交快捷键改为 Ctrl/Cmd+Enter,普通 Enter 换行,可在设置中随时开关。 / A DSH plugin that makes Enter insert a newline and Ctrl/Cmd+Enter submit, toggleable in settings.
The npm package dsh-ctrl-enter-submit receives a total of 127 weekly downloads. As such, dsh-ctrl-enter-submit popularity was classified as not popular.
We found that dsh-ctrl-enter-submit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.