only show 'enter choice' when there's a choice
This commit is contained in:
parent
d2f60bd055
commit
16b8ab7122
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ ISOTerminal.prototype.bootMenu = function(e){
|
||||||
this.boot.menu.map( (m) => {
|
this.boot.menu.map( (m) => {
|
||||||
msg += `\r[36m ${m.key})[0m ${m.title(this.opts)}\n`
|
msg += `\r[36m ${m.key})[0m ${m.title(this.opts)}\n`
|
||||||
})
|
})
|
||||||
msg += `\n\r enter choice> `
|
if( this.boot.menu.length ) msg += `\n\r enter choice> `
|
||||||
this.send(msg)
|
this.send(msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue