ui: add explicit path to write prompt text bypassing buffers
The prompt= flag was added at
e35d7f131483, when colorui had its own write()
function. Since we've merged colorui to ui, we can simply call the unbuffered
write() function.
Run Mercurial tests with Vagrant:
$ vagrant up
$ vagrant ssh -c ./run-tests.sh