launcher: auto size, fixed header, growing terminal + autoscroll if scrolled to bottom (pr #172)

This commit is contained in:
jean-emmanuel 2018-03-01 15:38:14 +01:00
parent e71b487bc2
commit 7352a99397
3 changed files with 23 additions and 22 deletions

View file

@ -66,7 +66,7 @@ if (settings.cli) {
launcher
app.on('ready',function(){
launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:655, node:true, color:'#283143'})
launcher = require('./electron-window')({address:address, shortcuts:true, width:680, height:(100 + 8*3 + 29 * Object.keys(settings.options).filter(x => settings.options[x].launcher !== false).length), node:true, color:'#283143'})
})
if (process.log) {