Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Clear output action#2232

Open
algj wants to merge1 commit intognunn1:master
base:master
Choose a base branch
Loading
fromalgj:clear-action
Open

Clear output action#2232

algj wants to merge1 commit intognunn1:masterfromalgj:clear-action

Conversation

algj
Copy link

@algjalgj commentedJul 28, 2024
edited
Loading

Clear text while leaving current line intact, keeping selection and clearing scrollback buffer. Appears in shortcut list inTerminal -> Clear output and right-click menu asClear.

Note: while this is a hacky method, it reproduces same "Clear" that vscode does, especially with TUI's. I unfortunately had trouble extracting current line with vte.getText and vte.getTextRange, which lead me to this solution that does not require patching VTE.

Before clean:
image
After clean (can't scroll up):
image

#2217#1615 🎉

Clear text while leaving current line intact, keeping selection and clearing scrollback buffer. Appears in shortcut list in `Terminal -> Clear output` and right-click menu as `Clear`.Update terminal.d
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@algj

[8]ページ先頭

©2009-2025 Movatter.jp