mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-08-29 18:31:33 +00:00
feat: add terminal copy-on-select option (#1346)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user