Equivalent to javascript prompt command?


#1

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?


#2

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


#3

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.