This commit is contained in:
Eugene Pankov 2017-07-26 19:59:05 +02:00
parent 98a5a95bec
commit 23dabca2ab
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ export class RecoveryProvider extends TabRecoveryProvider {
if (recoveryToken.type === 'app:terminal') {
let sessionOptions = await this.sessions.recover(recoveryToken.recoveryId)
if (!sessionOptions) {
return
return null
}
return {
type: TerminalTabComponent,

View File

@ -50,7 +50,7 @@ export class TMuxCommandProcess {
private lock = new AsyncLock({ timeout: 1000 })
constructor () {
this.process = childProcess.spawn('tmux', ['-C', '-L', 'terminus', 'new-session', '-A', '-D', '-s', 'control'])
this.process = childProcess.spawn('tmux', ['-C', '-f', '/dev/null', '-L', 'terminus', 'new-session', '-A', '-D', '-s', 'control'])
console.log('[tmux] started')
this.process.stdout.on('data', data => {
// console.debug('tmux says:', data.toString())