mafintosh / mafintosh/ansi-diff-stream
Allow to provide offset and size
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 109
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Allow to provide and offset and a window size where to write so updates can be done on arbitrary windows, not only the full terminal screen. This could allow to have some kind of double-buffering to create terminal UIs since `blessed` don't support it (it writes directly to the terminal buffer, leading to some problems and limitations...).
Contributor guide
No contributing guide indexed for this repository
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
Start by tracing the transform stream described in the repository and how it currently diffs input buffers against the full terminal screen. Define the API for an offset and window size, then verify that updates are restricted to the requested window while preserving minimal ANSI output and enabling double-buffered terminal UIs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100