Equivalent to javascript prompt command?


atom.confirm is the equivalent of javascript’s alert command. Is there an equivalent to the javascript prompt command?

I have needed this several times and I either rolled my own or worked around it. I wonder how hard it would be to add one to core?


Maybe you can use something like the AddDialog from tree-view but with some click-catcher between the overlay and the workspace?


I did another workaround. I’ll try that next time.

Do you think core what take a PR on this? I’d copy the look (code) of atom.confirm. So far I’m 0 for 2 for PRs.