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 Persistent Title option #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add Persistent Title option #28

wants to merge 2 commits into from

Conversation

zbot473
Copy link

@zbot473 zbot473 commented Jul 10, 2021

Prevents text from being overwritten by new rain streaks

Copy link
Owner

@M4444 M4444 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for contributing! I've added some review comments.
As for general stuff, the commit title could be something like "Added option to have a persistent title".
In the code, I would extend all the naming to Persistent Title, it's more clear but still not too long. You could also move all the functions and structures related to the option under the one related to the Title option so it has a better grouping.
The completion scripts and manual should also be updated (for reference see commit 77ecf23 adding --fade option)

.gitignore Outdated Show resolved Hide resolved
@@ -201,6 +203,17 @@ namespace Parser {
SetFade(true, out.rainProperties);
}
},
Option{
BOOL, "-p", "--persistent",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest going with a model similar to --fade/--no-fade for this.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the shorthand for that, or do you expect there to be none?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can just go with --persistent-title/--no-persistent-title. No need to add the shorter version.

include/Rain.h Show resolved Hide resolved
include/RainColumn.h Show resolved Hide resolved
@M4444
Copy link
Owner

M4444 commented Nov 21, 2021

Hi @zbot473. There was no recent activity from you so I was wondering how you would like to proceed with the PR?
Do you need help finishing the rest of the changes or would you like me to finish it instead?

@zbot473
Copy link
Author

zbot473 commented Nov 23, 2021

I've been caught up in the college application process so I can't really dedicate much time.

Sorry for the delay though.

@M4444
Copy link
Owner

M4444 commented Nov 23, 2021

No worries. Hope everything goes well with college!

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.

2 participants