When selecting text with the mouse, the selection area crosses the sidebar and also selects content in the right sidebar. No isolation is implemented, which is not expected behavior.
Description
When selecting text with the mouse, the selection area crosses the sidebar and also selects content in the right sidebar. No isolation is implemented, which is not expected behavior.
Steps to reproduce
- Launch the DeepSeek CLI.
- Enter an interface that contains a sidebar (e.g., the conversation interface).
- Drag with the left mouse button to select text starting from the main area on the left.
- Continue dragging to the right and observe whether the right sidebar is also selected.
Expected behavior
When selecting text, the main area and the sidebar should be isolated from each other. The selection should be limited to the current area and should not cross over to select content in the other area.
Actual behavior
The selection crosses the sidebar, and content in the right sidebar is also selected. No isolation is applied.
Environment
- OS: Windows 11
- DeepSeek CLI version: 0.8.20
- Model: v4-pro
- Shell: PowerShell
Logs or screenshots
这个问题应该是deepseek-tui 在 Windows 上,设置了mouse_capture 默认关闭。试一下用 deepseek --mouse-capture
在终端打开就能解决了。在这个模式下,主界面右侧出现的滚动条也能用鼠标上下拖动。
Thanks! This solution is very useful. Shouldn’t it be enabled by default? Users who want to disable it can just turn it off via the config.
Thanks, I agree it would be nicer UX-wise.
I kept this PR docs-only because Windows mouse capture is currently default-off intentionally due to prior terminal compatibility issues (#878 / #898), where mouse escape sequences could leak into the input stream.
Enabling it by default on Windows seems better handled as a separate behavior-change discussion/PR with maintainer approval.
yes! thank you guys. it should be enabled by default, 100%.
Fixed in v0.8.26.
Please update with one of:
- npm:
npm install -g deepseek-tui@latest - brew:
brew upgrade deepseek-tui - cargo:
cargo install --force deepseek-tui-cli
Reopen if the issue persists after upgrading. Thanks for the report!