43081j / 43081j/ansivision

Add support for terminal bounds

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
33
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We should support some option to specify the `columns` and `rows` of the imaginary terminal.

This way, things like `ESC D` actually chops off the top line instead.

im not sure yet if it should _remove_ the line, or keep it in a cache somewhere in case you scroll back. need to read up on this again.

Contributor guide

No contributing guide indexed for this repository

Research direction

Look at the library's handling of terminal escape sequences, particularly ESC D (index). The issue mentions needing to read up on terminal behavior for line chopping and scrollback caching. Start by examining the code that processes ANSI sequences and manages the terminal buffer. Determine where columns and rows configuration would be added and how line removal or caching should be implemented.

Written by the indexing model from the issue text.

Assessment

Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.