Python cmd module enter key

68 Views Asked by At

I've built a simple cli app using cmd. I noticed that hitting the enter key seems to be rerunning the previous command. Is there a way to catch/prevent this?

0

There are 0 best solutions below