mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-28 11:28:35 +00:00
lint
This commit is contained in:
@@ -287,7 +287,7 @@ export class Session extends BaseSession {
|
|||||||
}
|
}
|
||||||
|
|
||||||
supportsWorkingDirectory (): boolean {
|
supportsWorkingDirectory (): boolean {
|
||||||
return !!(this.truePID || this.reportedCWD ?? this.guessedCWD)
|
return !!this.truePID ?? this.reportedCWD ?? this.guessedCWD
|
||||||
}
|
}
|
||||||
|
|
||||||
async getWorkingDirectory (): Promise<string|null> {
|
async getWorkingDirectory (): Promise<string|null> {
|
||||||
|
@@ -9,7 +9,7 @@ import { OSC1337Processor } from './api/osc1337Processing'
|
|||||||
*/
|
*/
|
||||||
export abstract class BaseSession {
|
export abstract class BaseSession {
|
||||||
open: boolean
|
open: boolean
|
||||||
truePID: number
|
truePID?: number
|
||||||
protected output = new Subject<string>()
|
protected output = new Subject<string>()
|
||||||
protected binaryOutput = new Subject<Buffer>()
|
protected binaryOutput = new Subject<Buffer>()
|
||||||
protected closed = new Subject<void>()
|
protected closed = new Subject<void>()
|
||||||
|
Reference in New Issue
Block a user