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

IDEA: Scrool up/down content over a fixed region (fixed number of lines) #29

Open
mchobby opened this issue Jan 2, 2023 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@mchobby
Copy link
Collaborator

mchobby commented Jan 2, 2023

Picoterm can run a terminal over 30 lines (to be check) where standard screen size is 24 lines.

I do see room for status bar, function keys labels, etc.

So I would be great if PicoTerm could display and scroll content on the first 24 lines (a region, should be configurable) but internal software being able to draw outside that region (into another region).

Questions:

  1. Your remarks and comments ?
  2. is there some terminal/ESC sequence regarding this feature ?
@mchobby mchobby added enhancement New feature or request question Further information is requested labels Jan 2, 2023
@abaffa
Copy link
Contributor

abaffa commented Jan 6, 2023

Hi,

yes. There is a escape to define a window region.

 Scrolling Region
        ESC [ Pt ; Pb r
        Pt is the number of the top line of the scrolling region;
        Pb is the number of the bottom line of the scrolling region
        and must be greater than  Pt.
        (The default for Pt is line 1, the default for Pb is the end of the screen)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants