Skip to content

Shift curses Pads instead of scrolling text lines #11

Description

@timlegrand

As said in the Python curses documentation

A pad is a special case of a window; it can be larger than the actual display screen, and only a portion of the pad displayed at a time. Creating a pad requires the pad’s height and width, while refreshing a pad requires giving the coordinates of the on-screen area where a subsection of the pad will be displayed.

Giterm reactivity may be largely improved by using this mechanism (creating a entire Pad for all the content of every Window) instead of changing text in-place at scroll time.

Note: Pads don't care about the real size of the area where they appear, so text shortening (lines ending with ... when too long) might be lost.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions