Skip to content

Question: Scroll text up to a clear screen? #13411

@vefatica

Description

@vefatica

In tcsh or bash, in WT or in a console, Ctrl-L scrolls text upwards so that the current command line (even one in progress) is at the top of the viewport ... without clobbering any previous output. I'd like to implement this in TCC (where plugins may have an input keystroke handler}. I've tried the scroll sequence (ESC[nS) but that clobbers whatever previous output is currently in the viewport. How do tcsh and bash do that? Any tips would be appreciated. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-Tag-FixDoesn't match tag requirementsNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions