Open mizlan opened 2 years ago
You'd probably want to figure out a configuration system before I make a PR. If you're okay with it, I can also go ahead and make a PR with an --nyt-fill
flag that would enable these controls.
Oops some flags in function arguments are default values and are hence redundant. Will fix later.
The following patch accounts for the differences in the use of the Backspace key and the behavior when an alphanumeric key is pressed. I've labeled this as experimental but in my testing, I did not find anything wrong with it. I'm very pleasantly surprised at how easy this was, using the numerous helper functions you've defined :)