Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll acceleration #3

Open
loganzartman opened this issue May 16, 2019 · 0 comments
Open

Scroll acceleration #3

loganzartman opened this issue May 16, 2019 · 0 comments
Labels

Comments

@loganzartman
Copy link
Owner

Both Unix (VT-like terminal) and Windows support scrolling sub-regions of the terminal's buffer contents. Add a method to Screen such as Screen.scroll_buffer() which accepts a rectangle and a scroll vector. This will:

  1. scroll the contents of the Screen's buffer, marking each cell as not dirty
  2. force an update
  3. set the backend's scroll region and ask the backend to perform the scroll

If the backend does not support scrolling, the Screen will instead mark the scrolled cells as dirty and not perform steps 2 or 3.

@loganzartman loganzartman added the status: planning Feature in planning label May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant