1 条评论 (1 条评论)1 个反应 (1 个反应)0 位负责人 (0 位负责人)TypeScript1,574 个派生 (1,574 个派生)batch import
help wantedtype/bug
仓库指标
- 星标
- 16,196 个星标 (16,196 个星标)
- PR 合并指标
- 平均合并 2天 10小时 (平均合并 2天 10小时)30 天内合并 16 个 PR (30 天内合并 16 个 PR)
描述
Steps to reproduce
- write a wrapped line to the terminal
- resize so the line now fits on one line
- triple click the line -> 🐛 more than one line is highlighted bc
isWrapped is still true
贡献者指南
- 研究方向
- 检查 xterm.js 缓冲区中每行的 `isWrapped` 属性是如何设置的。查看 `src/Terminal.ts` 或 `src/InputHandler.ts` 中的 resize 事件处理程序,以了解行在何处被重新换行。该 bug 在于调整大小时未重新计算 `isWrapped`。修复可能涉及在调整大小操作后更新每行的换行状态。
- 技术栈
- typescript
- 领域
- frontend
- 议题类型
- 缺陷
- 前置要求
- GitTypeScript