🐛 终端无法粘贴.

This commit is contained in:
lijiahangmax
2024-03-23 23:31:21 +08:00
parent a3d4420754
commit 1125ef8a5a
5 changed files with 2714 additions and 1034 deletions

View File

@@ -16,17 +16,18 @@ const preventKeys: Array<ShortcutKey> = [
altKey: false,
shiftKey: true,
code: 'KeyC'
}, {
ctrlKey: true,
altKey: false,
shiftKey: true,
code: 'KeyV'
}, {
ctrlKey: false,
altKey: false,
shiftKey: true,
code: 'Insert'
},
}
// , {
// ctrlKey: true,
// altKey: false,
// shiftKey: true,
// code: 'KeyV'
// }, {
// ctrlKey: false,
// altKey: false,
// shiftKey: true,
// code: 'Insert'
// },
];
const { copy: copyValue, readText } = useCopy();