Skip to content

feat: add clear buffer action#816

Open
tgrushka wants to merge 1 commit into
pop-os:masterfrom
dra11y:clear-buffer
Open

feat: add clear buffer action#816
tgrushka wants to merge 1 commit into
pop-os:masterfrom
dra11y:clear-buffer

Conversation

@tgrushka
Copy link
Copy Markdown

Adds a new action that clears both the visible screen and scrollback buffer while preserving any wrapped lines above the cursor. Default key-binding: Ctrl+Alt+K.

Closes #621

I used AI to guide the walk‑back logic and research WRAPLINE flag placement. All final code, design decisions, and testing are mine.

  • I have disclosed use of any AI generated code in my commit messages.
    • If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR.
    • In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment.
  • I understand these changes in full and will be able to respond to review comments.
  • My change is accurately described in the commit message.
  • My contribution is tested and working as described.
  • I have read the Developer Certificate of Origin and certify my contribution under its conditions.

Adds a new action that clears both the visible screen and scrollback
buffer while preserving any wrapped lines above the cursor.
Default key-binding: Ctrl+Alt+K.

I used AI to guide the walk‑back logic and research `WRAPLINE` flag placement.
All final code, design decisions, and testing are mine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Allow reset and clear options

1 participant