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

Adding "Clear" Function For Cleaning The Terminal #160

Merged
merged 7 commits into from
Sep 9, 2024

Conversation

TarsisioXavier
Copy link
Contributor

The Feature

This is a new function that can be used to clear the user's terminal.
It doesn't break anything else since it works with it's own classes.

Possibly Usage

  • Cleaning the terminal before running the script for a better user experience.
  • Erase sensitive information outputted by the script or inputted by the user.

@TarsisioXavier TarsisioXavier marked this pull request as draft September 6, 2024 18:01
@TarsisioXavier TarsisioXavier marked this pull request as ready for review September 6, 2024 18:05
@jessarcher jessarcher self-assigned this Sep 6, 2024
@jessarcher jessarcher marked this pull request as draft September 6, 2024 21:58
@jessarcher
Copy link
Member

Thanks @TarsisioXavier

I made a few small tweaks, mostly so that any output after clear won't have top padding.

Before After
image image

@jessarcher jessarcher marked this pull request as ready for review September 8, 2024 23:46
@jessarcher jessarcher self-requested a review September 8, 2024 23:47
@taylorotwell taylorotwell merged commit 39a2f4e into laravel:main Sep 9, 2024
4 checks passed
@TarsisioXavier TarsisioXavier deleted the feature/clear-prompt branch September 12, 2024 17:00
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.

3 participants