Merge pull request #161328 from microsoft/tyriar/fix_ctx_key

Allow escape sequence logging on web
This commit is contained in:
Daniel Imms
2022-09-21 08:05:31 -07:00
committed by GitHub

View File

@@ -1309,7 +1309,7 @@ export function registerTerminalActions() {
title: { value: localize('workbench.action.terminal.toggleEscapeSequenceLogging', "Toggle Escape Sequence Logging"), original: 'Toggle Escape Sequence Logging' },
f1: true,
category,
precondition: TerminalContextKeys.processSupported
precondition: ContextKeyExpr.or(TerminalContextKeys.processSupported, TerminalContextKeys.terminalHasBeenCreated)
});
}
async run(accessor: ServicesAccessor) {