Added asking user questions upon human intervention

This commit is contained in:
Zvonimir Sabljic
2023-08-14 18:25:59 +02:00
parent 3bf67bdf8f
commit 9fa7da4d2e

View File

@@ -183,3 +183,12 @@ class Project:
self,
'Once you are ready, type "continue" to continue.',
)
if answer != '' and answer != 'continue':
confirmation = styled_text(
self,
'Do you want me to debug this by your instructions? If you mistyped and just want to continue, type "continue" and if you want me to debug this, just press ENTER',
)
if confirmation == '':
print(colored('Ok, just a second.', "yellow"))
return answer