mbuet2ner / JEasyCrypto

A project for educational purposes for the course "Open Source Software Development" at the University of Oulu
GNU General Public License v3.0
2 stars 23 forks source link

A wrong user input breaks the console app #28

Closed tvuolio closed 4 years ago

tvuolio commented 4 years ago

In the Console, the wrong user input is not handled and the execution breaks immediately. Example: Do you wish to encrypt or decrypt (e or d)? > k

return program breaks

This is related to the same lines as in the fix of issue #27

Stupastian commented 4 years ago

We agree with this issue. Program should give feedback to the user when input is not acceptable and maybe ask input again. We also propose additional choice that allows user to exit console application immediately. We can implement a solution that asks input until one of the suitable choices is given. Example: What do wish to do? (e : encrypt, d : decrypt, q : quit) >

mbuet2ner commented 4 years ago

Closed with #32