-
-
Notifications
You must be signed in to change notification settings - Fork 294
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 request: command line options #2
Comments
Hi and thanks for the interest. So I have two pauses. The first one can possibly be skipped (maybe making it sleep for a second or two for effect), but the second pause is necessary for the user to actually read what the text says, otherwise it would immediately disappear after displaying. And in the case of displaying a menu, the pause is necessary to get user input. |
Ah, good point. Would it be possible to add a flag for just the first pause, so that text is displayed garbled, then immediately run through the "decrypting" effect? A bit about what I'm trying to do...I have an old style typewriter hooked up to a raspberry pi, running a shell script that activates one of the GPIO pins when the correct key phrase is typed in. When incorrect input is typed in, the script will just display some variation of "incorrect input, please try again", but when the correct key phrase is typed in, some story type text gets printed on the screen after "decrypting" via the no-more-secrets effect. |
Skipping the first pause via command line option should be pretty easy to do. I'll add that option when I have some time. |
Fantastic! Do you have a Patreon or Paypal donation option? I'd like to send you a bit of a financial "thank you", this is a really fun little utility! |
Not necessary but thanks for the offer :) |
I would like the ability to set the speed of the "decryption" process on the command line. It is a bit too slow for me. |
Rather than |
Works for me. I'm less concerned about what I type in, as long as it allows me to eliminate the pause. @kryptonianson maybe open a new ticket for your additional, completely different, feature request? |
Could we also get a |
@kryptonianson Look in nms.c and play around with the speed settings and see if you can get what you want. Just change the number for the setting and run 'make' again. #define TYPE_EFFECT_SPEED 4 |
@jakimfett Just committed changes to support the -a command line option which skips the first pause and auto-starts the decryption effect. Give it a try. ls -l | nms -a |
@apjanke Just committed changes to support the -v command line option which prints the version number. |
Works as expected for
Thanks! |
All issues addressed. Closing. |
I'd like to request the ability to skip the pauses (as mentioned here when executing the program via a command line flag, eg
cat somefile.txt | bin/nms --no-pause
.The text was updated successfully, but these errors were encountered: