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 cls command to repl #52206

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

MrJithil
Copy link
Contributor

@MrJithil MrJithil commented Mar 25, 2024

add .cls command which will be very convinient for clearing the active screen

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. repl Issues and PRs related to the REPL subsystem. labels Mar 25, 2024
@MrJithil MrJithil force-pushed the addClsCommandToRepl branch 2 times, most recently from c73c4d6 to 2e75463 Compare March 25, 2024 06:17
repl: add cls command
`.cls` will clear the current repl screen
@cola119
Copy link
Member

cola119 commented Mar 31, 2024

I understand the proposal for a new command, but given the existing ctrl+l to clear the screen, I'm curious about the unique use cases for it. Could you share the specific motivations and scenarios for this addition?

@MrJithil
Copy link
Contributor Author

MrJithil commented Apr 1, 2024

I understand the proposal for a new command, but given the existing ctrl+l to clear the screen, I'm curious about the unique use cases for it. Could you share the specific motivations and scenarios for this addition?

In most CLI and REPL having a command to clear the screen. People who is more using commands instead of shortcuts will a little hard to clear the screen while using Node.js REPL.
So, I though to provide .cls command to solve the issue.

@cola119 cola119 added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 6, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 6, 2024
@nodejs-github-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. repl Issues and PRs related to the REPL subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants