shared API for WidthCache
Open
Nobody has claimed this yet.
area/renderer-dom
type/enhancement
- Dominant language
- TypeScript
- Stars
- 21.2k
- Forks
- 2k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 3
Description
Coming from https://github.com/xtermjs/xterm.js/pull/4605 (also see comments there):
The width cache can grow big, so it would be good to share it between multiple terminal instances.
Prolly depends on #4634.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read PR #4605 and issue #4634 first, since this proposal comes from that work and may depend on it. Trace the existing WidthCache behavior there, then define a shared API usable by multiple terminal instances and verify that the cache can be reused without unbounded growth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100