xtermjs / xtermjs/xterm.js

shared API for WidthCache

Open
#4,635 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.