Closed bradsbrown closed 5 years ago
Hi, I've been thinking about this. I like it because it's clever and conforms to the DRY principle. However, the point of DRY is to make code more readable and maintainable. I'm a bit concerned that these changes will actually slightly obfuscate the meaning of the code, and make it more difficult for people to play with and contribute to...
Would it be OK with you if I close the pull request, but go through and integrate some of your solutions here and there? Some of the changes are definite improvements, and it would be faster than telling you which parts I'd like to keep.
Absolutely! It's your project. :)
I started looking at a way to streamline the large
elif
blocks for fg and bg colors, and came up with a few other potential ideas onKeyHandler
while I was at it. You're not going to hurt my feelings if you reject any or all of it, I just had an idea and thought I'd toss it out there.