Request User Input on build


There are some older posts about requesting user input in the preinstall script. I have had this working but now have an issue where platform IO will not load and is stuck on intellisense and starting tasks.

Inculding the following will cause this:

print("Device Name: ")
name = input()

If the input line is commented out platform IO loads without issue but now I cannot request input.

Any one have a fix its driving my crazy. I tried to raise this as a bug but apparently its not!