From abe2c3dea9727973b7eade2f7faa8031fd77efa9 Mon Sep 17 00:00:00 2001 From: CyanSalt Date: Fri, 8 Oct 2021 15:01:55 +0800 Subject: [PATCH] feat: add context menu to terminal panes --- addons/settings/renderer/settings-line.vue | 4 ++++ renderer/components/basic/terminal-pane.vue | 23 ++++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/addons/settings/renderer/settings-line.vue b/addons/settings/renderer/settings-line.vue index d47b1ac1..44071286 100644 --- a/addons/settings/renderer/settings-line.vue +++ b/addons/settings/renderer/settings-line.vue @@ -281,10 +281,14 @@ export default { } } } +.item-label { + user-select: text; +} .item-key { margin-left: 16px; font-size: 12px; opacity: 0.5; + user-select: text; } .tree-node { width: 24px; diff --git a/renderer/components/basic/terminal-pane.vue b/renderer/components/basic/terminal-pane.vue index ab5759dd..ea05b136 100644 --- a/renderer/components/basic/terminal-pane.vue +++ b/renderer/components/basic/terminal-pane.vue @@ -1,5 +1,5 @@