-
-
Notifications
You must be signed in to change notification settings - Fork 440
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
switches to specify vertical and horizontal char densities #129
base: master
Are you sure you want to change the base?
switches to specify vertical and horizontal char densities #129
Conversation
Merge stable with changes from master
Version bump!
Update version!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes make sense. Thank you for your time. Potentially we could add a linter to this project. I can merge this but it would be much more easier if you could fix the merge conflicts. Again, thanks for working on this.
Thanks @abishekvashok, conflicts to master resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny nits that would make me happy :)
@@ -606,6 +639,16 @@ if (console) { | |||
case '9': | |||
update = keypress - 48; | |||
break; | |||
case 'm': | |||
space += 10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation seems off in some places like this line for example. Can you please fix this
@@ -629,7 +672,7 @@ if (console) { | |||
case 'r': | |||
rainbow = 1; | |||
break; | |||
case 'm': | |||
case 'M': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of modifying an existing option, can we switch the new option to use another letter or capital M if no other letters seem fit for the cause?
@@ -81,6 +81,8 @@ int xwindow = 0; | |||
int lock = 0; | |||
cmatrix **matrix = (cmatrix **) NULL; | |||
int *length = NULL; /* Length of cols in each line */ | |||
int space = 50; /* vertical density parameter */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make them constants? (I am not sure if we modify them later, can you check?)
This PR (originally based on v1.2a) offers switches to specify vertical and horizontal character densities and the options to change these during run-time.