13 Commits

Author SHA1 Message Date
Brian Barto
eef49d2ce6 Merge branch 'feature/colour' of https://github.com/anthonysterling/no-more-secrets into anthonysterling-feature/colour 2016-05-03 09:44:41 -04:00
Anthony Sterling
469a24b85d Added the -f flag to change the foreground color
The `-f` flag enabling the selection of the following colors:-

- white
- yellow
- black
- magenta
- blue
- green
- red

By default the foreground is blue, as per the current implementation.
2016-05-02 20:03:10 +01:00
Brian Barto
c043388bad Incorporated geometric size expansion for input array to reduce the amount of memory reallocations.
modified:   src/main.c
2016-05-02 13:56:35 -04:00
Brian Barto
e988dac87c Added -v command line option to print version number
modified:   src/main.c
2016-05-01 17:19:27 -04:00
Brian Barto
ed5e9f689f Support for the '-a' command line option to auto-start the decryption effect
modified:   README.md
	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
2016-05-01 17:09:38 -04:00
Brian Barto
e06aa4ebf5 Initializing character pointer to NULL
modified:   src/main.c
2016-04-27 11:01:41 -04:00
Brian Barto
53f3835195 Added option to show cursor during "type" and "jumble" loops.
modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
2016-04-20 18:16:19 -04:00
Brian Barto
36cf124a0d Changed nmsexec() to nms_exec()
modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 17:55:07 -04:00
Brian Barto
227b5a7344 Changed my typedef name to proper camel case
modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 17:24:11 -04:00
Brian Barto
9959d6f98f Changes nmsexec() to accept a structure containing it's multiple arguments. This made
more sense than passing a growing list of arguments.

	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 17:08:35 -04:00
Brian Barto
f91d5601c4 Added "returnOptions" parameter that limits which keys will continue execution
once the src text is revealed.

	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 14:52:37 -04:00
Brian Barto
103e164106 Decided I didn't need the nmsprintf() function. Instead teh main program should
build the character array however it pleases and pass it in to nmsexec().

	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
2016-04-18 18:39:56 -04:00
Brian Barto
6da3bbdce5 Restructured the application file a bit.
modified:   Makefile
	renamed:    src/nms.c -> src/main.c
	copied:     src/nms.h -> src/nms.c
	modified:   src/nms.h
2016-04-18 12:00:57 -04:00