aaif-goose / aaif-goose/vscode-goose
feat(webview): render streaming cursor inline at end of streamed text
- Ngôn ngữ chính
- TypeScript
- Star
- 43
- Fork
- 19
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Extracted from #39. The blinking cursor currently renders after the whole markdown block, landing on its own line.
Relocate the caret into the last text-bearing element (p, li, blockquote, pre code, headings) via an idempotent DOM effect in `MarkdownRenderer`, plus the `.markdown-content-bubble { white-space: pre-wrap }` fix so user bubbles preserve line breaks. Known trade-off to keep in mind: this is an imperative DOM mutation into React-managed output (react-markdown has no cursor seam); tighten the effect deps when porting.
**Size**: S | **Depends on**: nothing | **Tier**: 0 (quick win)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.