Fix grails 2.3.1 bug: it eats the current prompt when called.