Merge branch 'develop' into feature/react-admin
This commit is contained in:
commit
49de31bf4c
24 changed files with 169 additions and 32 deletions
|
@ -146,10 +146,10 @@ export default () => {
|
|||
|
||||
// Add support for capturing keys
|
||||
terminal.attachCustomKeyEventHandler((e: KeyboardEvent) => {
|
||||
if (e.metaKey && e.key === 'c') {
|
||||
if ((e.ctrlKey || e.metaKey) && e.key === 'c') {
|
||||
document.execCommand('copy');
|
||||
return false;
|
||||
} else if (e.metaKey && e.key === 'f') {
|
||||
} else if ((e.ctrlKey || e.metaKey) && e.key === 'f') {
|
||||
e.preventDefault();
|
||||
searchBar.show();
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue