We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b3d1a4 + 9057a4f commit 942136cCopy full SHA for 942136c
resources/scripts/components/server/Console.tsx
@@ -145,10 +145,10 @@ export default () => {
145
146
// Add support for capturing keys
147
terminal.attachCustomKeyEventHandler((e: KeyboardEvent) => {
148
- if (e.metaKey && e.key === 'c') {
+ if ((e.ctrlKey || e.metaKey) && e.key === 'c') {
149
document.execCommand('copy');
150
return false;
151
- } else if (e.metaKey && e.key === 'f') {
+ } else if ((e.ctrlKey || e.metaKey) && e.key === 'f') {
152
e.preventDefault();
153
searchBar.show();
154
0 commit comments