When I set a "pending" message for the bottom bar during an input validation, it will duplicate the line/answer when the validation completes. Is this expected behavior? See the example below to reproduce (running this in an empty project).

var inquirer = require('inquirer')
var ui = new inquirer.ui.BottomBar()
inquirer.prompt([{
type: 'input',
name: 'test',
message: 'Test Input:',
validate: function () {
ui.updateBottomBar('Waiting...')
var done = this.async()
setTimeout(function() {
done(null, true)
}, 2000)
},
}]).then(function (answers) {
console.log(answers)
})
I am facing the same issue. When I add a buttomBar to a list, then pressing arrow button duplicates the first two lines (including the header text).
``
Confirmed, this line alone will cause duplicated rows:
const ui = new inquirer.ui.BottomBar()

When I remove it, there's no duplication, as intended.
Most helpful comment
Confirmed, this line alone will cause duplicated rows:
When I remove it, there's no duplication, as intended.