rpncalc icon indicating copy to clipboard operation
rpncalc copied to clipboard

Properly close the jline terminal at the end (#7)

Open gnodet opened this issue 2 years ago • 2 comments

Possible fix for #7

gnodet avatar Jan 24 '23 15:01 gnodet

Oh no! Stupid user error? I'll take a look at your changes and give it a test. Thank you very much.

frossm avatar Jan 24 '23 20:01 frossm

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

frossm avatar Jan 24 '23 20:01 frossm