mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-22 04:19:54 +00:00
.
This commit is contained in:
parent
98a5a95bec
commit
23dabca2ab
@ -16,7 +16,7 @@ export class RecoveryProvider extends TabRecoveryProvider {
|
|||||||
if (recoveryToken.type === 'app:terminal') {
|
if (recoveryToken.type === 'app:terminal') {
|
||||||
let sessionOptions = await this.sessions.recover(recoveryToken.recoveryId)
|
let sessionOptions = await this.sessions.recover(recoveryToken.recoveryId)
|
||||||
if (!sessionOptions) {
|
if (!sessionOptions) {
|
||||||
return
|
return null
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
type: TerminalTabComponent,
|
type: TerminalTabComponent,
|
||||||
|
@ -50,7 +50,7 @@ export class TMuxCommandProcess {
|
|||||||
private lock = new AsyncLock({ timeout: 1000 })
|
private lock = new AsyncLock({ timeout: 1000 })
|
||||||
|
|
||||||
constructor () {
|
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')
|
console.log('[tmux] started')
|
||||||
this.process.stdout.on('data', data => {
|
this.process.stdout.on('data', data => {
|
||||||
// console.debug('tmux says:', data.toString())
|
// console.debug('tmux says:', data.toString())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user