mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-12 22:08:04 -05:00
Disable ctrl+k for clear terminal on Linux
This conflicts with native keybinding to clear to the end of the prompt Fixes #19248
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user