mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 08:34:50 +02:00
ctrl-x, ctrl-c, ctrl-v for cut, copy, paste
This commit is contained in:
parent
68efafcd67
commit
c3252e88d1
@ -1062,6 +1062,12 @@ class NavWindow {
|
||||
} else if (e.keyCode === 65 && e.ctrlKey) {
|
||||
this.select_all();
|
||||
e.preventDefault();
|
||||
} else if (e.keyCode === 67 && e.ctrlKey) {
|
||||
this.context_menu.copy();
|
||||
} else if (e.keyCode === 86 && e.ctrlKey) {
|
||||
this.context_menu.paste();
|
||||
} else if (e.keyCode === 88 && e.ctrlKey) {
|
||||
this.context_menu.cut();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user