diff --git a/frame.js b/frame.js
index 0e1c684c..8754610b 100644
--- a/frame.js
+++ b/frame.js
@@ -603,7 +603,10 @@ Volcanos(chat.ONMOTION, {_init: function(can, target) {
focus: function(can, target, value) { if (!target) { return } if (!can.base.isUndefined(value)) { target.value = value }
target.focus(), can.onmotion.selectRange(target)
}, selectRange: function(target) { target && target.setSelectionRange && target.setSelectionRange(0, target.value.length) },
- copy: function(can, target, cb) { target.title = "点击复制", target.onclick = function(event) { can.user.copy(event, can, target.innerText), can.base.isFunc(cb) && cb(event) } },
+ copy: function(can, target, cb) { target.title = "点击复制", target.onclick = function(event) {
+ can.user.copy(event, can, target.innerText), can.base.isFunc(cb) && cb(event)
+ can.onkeymap.prevent(event)
+ } },
move: function(can, target, layout, cb) { var begin; layout = layout||{}
can.page.style(can, target, layout), target.onmousedown = function(event) {
if (event.target != target && !event.ctrlKey) { return } can.onkeymap.prevent(event)
diff --git a/index.css b/index.css
index ee0955dc..2b305ff3 100644
--- a/index.css
+++ b/index.css
@@ -42,6 +42,7 @@ table.content.action td:last-child { background-color:steelblue; position:sticky
table.content.full { width:100%; }
div.code { background-color:#343a3445; font-size:14px; padding:10px; border:green solid 1px; }
div.story[data-type=spark] { background-color:#2169a9a6; color:white; padding:5px 10px; border-left:blue solid 5px; margin:10px; }
+table.content div.story[data-type=spark] { margin:0; }
h1 { text-align:center; margin:20px 0; } h2 { margin:20px 0; } h3 { margin:20px 0; } ul { padding-left:40px; margin:20px 0; }
hr, td.hr { border-bottom:gray dashed 1px; margin:5px; }
/* fieldset */
@@ -269,7 +270,7 @@ body.mobile fieldset.input.date div.output td { padding:8px 20px; }
body.mobile fieldset.word.float>div.output>div.project { top:38px; }
/* misc */
fieldset.panel.Action.cmd>div.toggle.project { display:none; }
-fieldset.panel.Search div.story[data-type=spark] { padding:0; margin:0; }
+fieldset.panel.Search div.story[data-type=spark] { margin:0; }
fieldset.plugin.location>div.action input[type=text] { width:40px; }
fieldset.plugin.config form.option input[name=key] { width:240px; }
fieldset.plugin.parse.cmd>legend { display:none; }
diff --git a/lib/page.js b/lib/page.js
index 6d4bf520..dc39ba0f 100644
--- a/lib/page.js
+++ b/lib/page.js
@@ -194,6 +194,9 @@ Volcanos("page", {
} },
Color: function(text) { if (typeof text != lang.STRING) { return "" } text = text.replace(/\\n/g, "
")
if (text.indexOf(ice.HTTP) == 0 && text.length > 10) { var ls = text.split(ice.SP); text = ""+ls[0]+""+ls.slice(1).join(ice.SP) }
+ if (text.indexOf("export ctx_dev=") == 0 && text.length > 10) {
+ return "