only show 'enter choice' when there's a choice
All checks were successful
/ mirror_to_github (push) Successful in 48s
/ test (push) Successful in 9s

This commit is contained in:
Leon van Kammen 2025-02-10 19:55:00 +01:00
parent d2f60bd055
commit 16b8ab7122

View file

@ -8,7 +8,7 @@ ISOTerminal.prototype.bootMenu = function(e){
this.boot.menu.map( (m) => {
msg += `\r ${m.key}) ${m.title(this.opts)}\n`
})
msg += `\n\r enter choice> `
if( this.boot.menu.length ) msg += `\n\r enter choice> `
this.send(msg)
}