aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-03-04 18:32:24 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-03-04 18:41:23 +0900
commit90b83d7b7b99598834466c97e9c74c82cbd25cf3 (patch)
treef7faf5e1f1b757725ec49c8fdc7493ba3bd503e8 /src/shared
parent37410b874f89de4907ba038244318129835e8157 (diff)
hide console on <Esc> and <C-{>
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/messages.js1
-rw-r--r--src/shared/operations.js3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/messages.js b/src/shared/messages.js
index de00a3f..b7a1a7e 100644
--- a/src/shared/messages.js
+++ b/src/shared/messages.js
@@ -32,6 +32,7 @@ export default {
CONSOLE_SHOW_ERROR: 'console.show.error',
CONSOLE_SHOW_INFO: 'console.show.info',
CONSOLE_SHOW_FIND: 'console.show.find',
+ CONSOLE_HIDE: 'console.hide',
FOLLOW_START: 'follow.start',
FOLLOW_REQUEST_COUNT_TARGETS: 'follow.request.count.targets',
diff --git a/src/shared/operations.js b/src/shared/operations.js
index 008e9eb..a2f980f 100644
--- a/src/shared/operations.js
+++ b/src/shared/operations.js
@@ -1,4 +1,7 @@
export default {
+ // Hide console, or cancel some user actions
+ CANCEL: 'cancel',
+
// Addons
ADDON_ENABLE: 'addon.enable',
ADDON_DISABLE: 'addon.disable',