|
|
@ -20,11 +20,7 @@ module.exports = function (opts) { |
|
|
|
input.termUpload = termUpload |
|
|
|
input.termUpload = termUpload |
|
|
|
|
|
|
|
|
|
|
|
const buttons = initButtons(input) |
|
|
|
const buttons = initButtons(input) |
|
|
|
screen.on('button-labels', labels => { |
|
|
|
screen.on('button-labels', labels => { buttons.labels = labels }) |
|
|
|
// TODO: don't use pointers for this
|
|
|
|
|
|
|
|
buttons.labels.splice(0, buttons.labels.length, ...labels) |
|
|
|
|
|
|
|
buttons.update() |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
screen.on('TEMP:hide-load-failed-msg', () => { |
|
|
|
screen.on('TEMP:hide-load-failed-msg', () => { |
|
|
|
let scr = qs('#screen') |
|
|
|
let scr = qs('#screen') |
|
|
|