feat: 支持 Shell 终端点击定位光标#259
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要 (Summary)
支持 Shell 类型课程终端通过鼠标单击定位当前命令行光标,提升编辑较长 shell 命令时的交互体验。实现保持在前端 Shell 终端组件内,不改后端 WebSocket 协议。
主要变更 (Key Changes)
cursor-text,强化可点击编辑区域感知。变更类型 (Type of Change)
测试情况 (Testing Performed)
pnpm run checkpnpm exec eslint src/components/business/Terminal.tsx给 Reviewer 的提示 (Notes for Reviewers)
src/components/business/Terminal.tsx,SQL/Code 终端不在改动范围内。