fix #114009
This commit is contained in:
parent
48be13acf8
commit
f916e9f1ab
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,7 @@ import { BrowserFeatures } from 'vs/base/browser/canIUse';
|
|||
import { IPreferencesService } from 'vs/workbench/services/preferences/common/preferences';
|
||||
import { IEnvironmentVariableInfo } from 'vs/workbench/contrib/terminal/common/environmentVariable';
|
||||
import { IProcessDataEvent, IShellLaunchConfig, ITerminalDimensionsOverride, ITerminalLaunchError } from 'vs/platform/terminal/common/terminal';
|
||||
import { isIPad } from 'vs/base/browser/browser';
|
||||
|
||||
// How long in milliseconds should an average frame take to render for a notification to appear
|
||||
// which suggests the fallback DOM-based renderer
|
||||
|
@ -568,6 +569,10 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
|
|||
this.hasHadInput = true;
|
||||
}
|
||||
|
||||
if (isIPad && event.key === 'c' && standardKeyboardEvent.ctrlKey) {
|
||||
this.sendText('\u0003', false);
|
||||
}
|
||||
|
||||
// for keyboard events that resolve to commands described
|
||||
// within commandsToSkipShell, either alert or skip processing by xterm.js
|
||||
if (resolveResult && resolveResult.commandId && this._skipTerminalCommands.some(k => k === resolveResult.commandId) && !this._configHelper.config.sendKeybindingsToShell) {
|
||||
|
|
Loading…
Reference in a new issue