Checklist
What happened?
Well, I was testing my app, which had terminal worker attribute and there was devices sepration in input.
- Non COI/COI doesn't supported to modify browsers gives input as Promise/Async
- COI headers changeable browsers gives input as String
I had solution,
import builtins, asyncio, inspect
inputs = input
def _input(prompt=""):
"""Asks for user input"""
result = inputs(str(prompt))
if inspect.isawaitable(result):
return asyncio.run(result)
else:
return result
builtins.input = _input
I really hope this could comes by default
Project was I talking and @Ericwasepic127 @MongolOS1162
- Recently, I made PR which is in here.
What browsers are you seeing the problem on? (if applicable)
Mobile Via browser and Chrome
Console info
Additional Context
No response
Checklist
What happened?
Well, I was testing my app, which had
terminal workerattribute and there was devices sepration in input.I had solution,
I really hope this could comes by default
What browsers are you seeing the problem on? (if applicable)
Mobile Via browser and Chrome
Console info
Additional Context
No response