aaif-goose / aaif-goose/vscode-goose

feat(webview): render streaming cursor inline at end of streamed text

Đang mở
#54 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.