提交 6cf0af83 编写于 作者: D Daniel Imms

Disable ctrl+k for clear terminal on Linux

This conflicts with native keybinding to clear to the end of the prompt

Fixes #19248
上级 dc99879c
......@@ -233,5 +233,6 @@ actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(ScrollToTopTermi
linux: { primary: KeyMod.Shift | KeyCode.Home }
}, KEYBINDING_CONTEXT_TERMINAL_FOCUS), 'Terminal: Scroll to Top', category);
actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(ClearTerminalAction, ClearTerminalAction.ID, ClearTerminalAction.LABEL, {
primary: KeyMod.CtrlCmd | KeyCode.KEY_K
primary: KeyMod.CtrlCmd | KeyCode.KEY_K,
linux: { primary: null }
}, KEYBINDING_CONTEXT_TERMINAL_FOCUS, KeybindingsRegistry.WEIGHT.workbenchContrib(1)), 'Terminal: Clear', category);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册