2febe19
I really should be double-checking commits
@ -13,8 +13,8 @@ npm run babel -- -o js/app.js --source-maps jssrc/lib \
jssrc/wifi.js \
jssrc/term_* \
jssrc/debug_screen.js \
jssrc/term.js \
jssrc/soft_keyboard.js
jssrc/soft_keyboard.js \
jssrc/term.js
echo 'Building CSS...'
@ -1,4 +1,4 @@
$.ready(() => {
window.initSoftKeyboard = function (screen) {
const input = qs('#softkb-input')
if (!input) return // abort, we're not on the terminal page
@ -89,4 +89,4 @@ $.ready(() => {
})
screen.on('open-soft-keyboard', () => input.focus())
}
@ -43,6 +43,7 @@ window.termInit = function (labels, theme) {
window.initSoftKeyboard(screen)
if (window.attachDebugScreen) window.attachDebugScreen(screen)
window.termScreen = screen // for debugging