I was trying to make my own terminal and when I was adding the feature to make your own functions and use them I got this error:
Fatal Python error: Cannot recover from stack overflow.
EDIT: For everyone looking for help with a similar error, this problem is caused by a function calling itself too many times. That causes an error because python is so far deep into running the function over and over and over again.
while Truewith only onebreak. Obviously, the break statement is never being executed. Look at the conditions around the break statement and make sure they are correct.