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

feat: suppress REPL startup message #6570

Closed
gvwilson opened this issue Mar 10, 2024 · 1 comment · Fixed by #7040
Closed

feat: suppress REPL startup message #6570

gvwilson opened this issue Mar 10, 2024 · 1 comment · Fixed by #7040
Labels
good first issue Good for newcomers

Comments

@gvwilson
Copy link

gvwilson commented Mar 10, 2024

It would be useful for teaching purposes to have a -q flag for roc repl that suppressed the startup message so that it didn't appear in captured output:

  The rockin' roc repl
────────────────────────

Enter an expression, or :help, or :q to quit.

If this is added, could -q (or some other flag) disable colorized output? The escape sequences used to change colors have to be filtered out if I'm saving output for inclusion in Markdown and other docs.

@Anton-4
Copy link
Collaborator

Anton-4 commented Mar 11, 2024

Yeah, those sound like helpful features 👍

I would go with two flags like --no-header and --no-colors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants