From 72887ec94964c3a6975ab49b6e969b37b711f983 Mon Sep 17 00:00:00 2001 From: Sten Hougaard Date: Tue, 5 Jul 2016 20:20:25 +0200 Subject: [PATCH] Added -webkit-user-select I have added ``` .atom-runner { -webkit-user-select: none; } .atom-runner pre { -webkit-user-select: initial; } ``` which first disables option to select anything within the package area. Then for the pre area it enables the option to select the generated output. This allows you to generate output and copy and paste it somewhere. Ideally you should instead add a button to copy the output to clipboard. --- styles/atom-runner.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/styles/atom-runner.less b/styles/atom-runner.less index 2a19633..d701b17 100644 --- a/styles/atom-runner.less +++ b/styles/atom-runner.less @@ -7,6 +7,7 @@ .atom-runner { background: @base-background-color; padding: @component-padding; + -webkit-user-select: none; overflow-y: scroll; color: @text-color; @@ -14,7 +15,9 @@ pre { background-color: @input-background-color; padding: (@component-padding + 5); - + .output { + -webkit-user-select: initial; + } .stderr { color: @text-color-error; } }