Skip to content

Commit

Permalink
fix: return None event instead of an error
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Apr 9, 2024
1 parent 009d83e commit 86c63b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/missing-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ import { IAuthenticationAccessService } from 'vs/workbench/services/authenticati
import { IAuthenticationUsageService } from 'vs/workbench/services/authentication/browser/authenticationUsageService'
import { ICustomEditorLabelService } from 'vs/workbench/services/editor/common/customEditorLabelService'
import { IExtensionsProfileScannerService } from 'vs/platform/extensionManagement/common/extensionsProfileScannerService'
import { createInstanceCapabilityEventMultiplexer } from 'vs/workbench/contrib/terminal/browser/terminalEvents'
import { TerminalCapability } from 'vs/platform/terminal/common/capabilities/capabilities'
import { getBuiltInExtensionTranslationsUris, getExtensionIdProvidingCurrentLocale } from './l10n'
import { unsupported } from './tools'

Expand Down Expand Up @@ -1656,10 +1658,8 @@ registerSingleton(ITerminalService, class TerminalService implements ITerminalSe
onAnyInstanceProcessIdReady = Event.None
onAnyInstanceSelectionChange = Event.None
onAnyInstanceTitleChange = Event.None
createOnInstanceEvent = unsupported
createOnInstanceCapabilityEvent = unsupported
onInstanceEvent = unsupported
onInstanceCapabilityEvent = unsupported
createOnInstanceEvent = () => Event.None
createOnInstanceCapabilityEvent = <T extends TerminalCapability, K>(capabilityId: T) => createInstanceCapabilityEventMultiplexer<T, K>([], Event.None, Event.None, capabilityId, () => Event.None)
createDetachedTerminal = unsupported

onDidChangeSelection = Event.None
Expand Down

0 comments on commit 86c63b0

Please sign in to comment.