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

Add 'Reset' action to clear scrollback buffer and reset the terminal #4494

Closed
wants to merge 1 commit into from
Closed

Conversation

berkeleyinc
Copy link

The missing ability to reset the screen while another program is running inside the terminal was bugging me too.

See #3997
and #4199

This adds the Action "Reset".

@chrisduerr
Copy link
Member

See #3997, #4152 and #4199.

@berkeleyinc
Copy link
Author

berkeleyinc commented Nov 28, 2020

@chrisduerr
My reason for which I need it:
I'm developing an application and the program outputs a lot of data.
Using the scrollback buffer, I'm grepping for specific strings in the output.
In the scrollback buffer, there is also the output of the previous run and I don't want that to be shown in my vi-mode searches.
Of course, I could manually "reset", but sometimes I'm deciding whether I need the previous output case by case.
Having to add or remove a "reset" statement is a lot of hassle and disturbs the programming flow.
This is just one example of the added comfort, the Reset action would bring.
I've recently came back from termite to alacritty but this issue keeps driving me away.

That's why I'd kindly ask to take it into discussion again. The other github issues show that it's a needed feature and many other major terminals have this included as well.

@chrisduerr
Copy link
Member

I don't see how a reset action would be necessary for this. Again this seems to indicate that people using these actions are not familiar with what the action does.

@berkeleyinc
Copy link
Author

Is there another way to clear the scrollback buffer?

@chrisduerr
Copy link
Member

Yeah, the ClearHistory action.

@berkeleyinc
Copy link
Author

Well, that's exactly what I looked for.
I tried the option before but I guess I was used to the clearing of the screen.

So it's all fine then.
Thank you for the quick answer!

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

Successfully merging this pull request may close these issues.

None yet

2 participants