feat: add terminal copy-on-select option (#1346)

This commit is contained in:
ZacharyZcR
2026-08-27 06:39:05 +08:00
committed by GitHub
parent 6406c3a923
commit 6323459af2
6 changed files with 143 additions and 4 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ if (isElectron()) {
const electronAPI = (window as ElectronWindow).electronAPI;
if (electronAPI?.getSetting) {
const settingsToLoad = ["rightClickCopyPaste"];
const settingsToLoad = ["rightClickCopyPaste", "copyOnSelect"];
for (const key of settingsToLoad) {
const value = await electronAPI.getSetting(key);
if (value !== null && value !== undefined) {