Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major updates; bring current with companion web generator
The "Colors" word list has been added to the Alternate generator. However, unlike the web generator, it is not default. I may add ANSI colors later, but I don't know how feasible this would be. Modern terminals support True Color (16 million colors), which is what would be necessary. Challenges abound, however, as I would need to detect the terminal background color, and outline color words that are too close in luminosity. Never mind actually outlining the text. Maybe I just leave it as a warning to the user. We'll see. The "Hungarian" word list have been added to the Diceware generator. The "Trump" word list has been updated to 6,300 words using his latest tweets. The "Random" generator function has been rewritten from several functions to a single function taking arguments. This should simplify the codebase and make future maintenance easier. Finally, I added a "test.sh" shell script to do some sanity checking when doing development on the script, to make sure it's still behaving as expected.
- Loading branch information