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

feature(args): Add clean mode #1470

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

felipe-heredia
Copy link
Contributor

@felipe-heredia felipe-heredia commented May 15, 2024

Description

A description of the change, what it does, and why it was made. If relevant (such as any change that modifies the UI), please provide screenshots of the changes:

This PR introduces a new argument, clean, that adds a clean mode to the application.

image

Issue

This PR is directly related to #31 issue.

Closes: #31

Testing

This was tested passing --clean as an argument.

If this is a code change, please also indicate which platforms were tested:

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • Documentation has been added/updated if needed (README.md, help menu, doc pages, etc.)
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts
  • If relevant, new tests were added (don't worry too much about coverage)

This commit introduces a clean mode to the application. When passing the
argument --clean, the application hides some borders and adopts a
cleaner interface with fewer borders.
@felipe-heredia felipe-heredia marked this pull request as ready for review May 15, 2024 19:58
@ClementTsang
Copy link
Owner

Thanks for the PR! This has been a long standing issue, so I'm glad to see someone grab it.

That said, I'm not totally a fan of adding a CLI flag specifically for it atm. This feels more like something I would set (IMO) as some style setting in a config/options screen. I might merge this for now but maybe change that specific part in the future.

@felipe-heredia
Copy link
Contributor Author

Thanks for your comment and for a possible merge.

Yeah, that's a better idea, setting a config/option screen.

This was my first contribution to Rust projects, so I've tried my best at the moment, but your idea is so much better option.

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.

Allow disabling borders
2 participants