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.
1 parent 1b3d1a4 commit 9057a4fCopy full SHA for 9057a4f
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