mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
build fix
This commit is contained in:
@@ -30,12 +30,6 @@ export abstract class BaseSession {
|
|||||||
get closed$ (): Observable<void> { return this.closed }
|
get closed$ (): Observable<void> { return this.closed }
|
||||||
get destroyed$ (): Observable<void> { return this.destroyed }
|
get destroyed$ (): Observable<void> { return this.destroyed }
|
||||||
|
|
||||||
constructor () {
|
|
||||||
this.output$ = this.output.asObservable()
|
|
||||||
this.closed$ = this.closed.asObservable()
|
|
||||||
this.destroyed$ = this.destroyed.asObservable()
|
|
||||||
}
|
|
||||||
|
|
||||||
emitOutput (data: string) {
|
emitOutput (data: string) {
|
||||||
if (!this.initialDataBufferReleased) {
|
if (!this.initialDataBufferReleased) {
|
||||||
this.initialDataBuffer += data
|
this.initialDataBuffer += data
|
||||||
|
@@ -29,7 +29,6 @@ export class TerminalService {
|
|||||||
|
|
||||||
async reloadShells () {
|
async reloadShells () {
|
||||||
this.shells = new AsyncSubject<IShell[]>()
|
this.shells = new AsyncSubject<IShell[]>()
|
||||||
this.shells$ = this.shells.asObservable()
|
|
||||||
let shellLists = await Promise.all(this.config.enabledServices(this.shellProviders).map(x => x.provide()))
|
let shellLists = await Promise.all(this.config.enabledServices(this.shellProviders).map(x => x.provide()))
|
||||||
this.shells.next(shellLists.reduce((a, b) => a.concat(b)))
|
this.shells.next(shellLists.reduce((a, b) => a.concat(b)))
|
||||||
this.shells.complete()
|
this.shells.complete()
|
||||||
|
Reference in New Issue
Block a user