Add terminal copy on select (#3904)

This commit is contained in:
Juho Heikka authored and GitHub committed 2021-09-29 08:55:39 -04:00
1 parent b41f923931
commit 8bbaf8c59e
4 files changed
+54

No files matched your search

@@ -200,6 +200,19 @@ const openAtLogin: PreferenceDescription<boolean> = {
},
};
const terminalCopyOnSelect: PreferenceDescription<boolean> = {
fromStore(val) {
return val ?? false;
},
toStore(val) {
if (!val) {
return undefined;
}
return val;
},
};
const hiddenTableColumns: PreferenceDescription<[string, string[]][], Map<string, ObservableToggleSet<string>>> = {
fromStore(val) {
return new Map(
@@ -274,4 +287,5 @@ export const DESCRIPTORS = {
hiddenTableColumns,
syncKubeconfigEntries,
editorConfiguration,
terminalCopyOnSelect,
};