提交 c11c4731 编写于 作者: D Daniel Imms

allowMenubarMnemonics -> allowMnemonics

上级 33f8b720
......@@ -294,8 +294,8 @@ configurationRegistry.registerConfiguration({
type: 'boolean',
default: true
},
'terminal.integrated.allowMenubarMnemonics': {
markdownDescription: nls.localize('terminal.integrated.allowMenubarMnemonics', "Whether to allow menubar mnemonics (eg. alt+f) to trigger the open the menubar. Note that this will cause all alt keystrokes will skip the shell when true."),
'terminal.integrated.allowMnemonics': {
markdownDescription: nls.localize('terminal.integrated.allowMnemonics', "Whether to allow menubar mnemonics (eg. alt+f) to trigger the open the menubar. Note that this will cause all alt keystrokes will skip the shell when true."),
type: 'boolean',
default: false
},
......
......@@ -621,7 +621,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
}
// Skip processing by xterm.js of keyboard events that match menu bar mnemonics
if (this._configHelper.config.allowMenubarMnemonics && event.altKey) {
if (this._configHelper.config.allowMnemonics && event.altKey) {
return false;
}
......
......@@ -107,7 +107,7 @@ export interface ITerminalConfiguration {
scrollback: number;
commandsToSkipShell: string[];
allowChords: boolean;
allowMenubarMnemonics: boolean;
allowMnemonics: boolean;
cwd: string;
confirmOnExit: boolean;
enableBell: boolean;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册