mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 14:04:27 +01:00
7 lines
118 B
Python
7 lines
118 B
Python
def clean_input(prompt: str=''):
|
|
try:
|
|
return input(prompt)
|
|
except KeyboardInterrupt:
|
|
exit(0)
|
|
|