Properly close the jline terminal at the end (#7)
Possible fix for #7
Oh no! Stupid user error? I'll take a look at your changes and give it a test. Thank you very much.
The change you made to main didn't seem to help. When I compile with jline-reader v3.22 there are no errors and the product seems to run fine. But after I exit rpncalc , many of the keys do not work as they normally would (and they way they worked under v3.21.0).
Up arrow gives: [A
Down arrow shows: [B
Right arrow: [C
Left arrow: [D
Home Key: [H
Etc....
I do think it's probably a cleanup issue since everything seems to work within the program. I did not receive an exception after the program was run.
You've defined the reader differently than I did and I'll have to look into that. I'm certainly a novice with jline3. Please let me know if you have any other ideas. Certainly seems like a windows issue.
Michael