aboutsummaryrefslogtreecommitdiff
path: root/src/console/actions/console.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 18:41:44 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 19:09:25 +0900
commitb0d2b5328107a9a2018132938fb5a9efcd77fc50 (patch)
treef66bc49efc0d7ca3a6f5af3f7330f10941cbeadd /src/console/actions/console.js
parentf6996a2274f3293d7c5860174dd224b28877e108 (diff)
use mode in console message
Diffstat (limited to 'src/console/actions/console.js')
-rw-r--r--src/console/actions/console.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/console/actions/console.js b/src/console/actions/console.js
index 01d9a9b..aacc21a 100644
--- a/src/console/actions/console.js
+++ b/src/console/actions/console.js
@@ -14,9 +14,9 @@ const showError = (text) => {
};
};
-const hide = () => {
+const hideCommand = () => {
return {
- type: actions.CONSOLE_HIDE
+ type: actions.CONSOLE_HIDE_COMMAND,
};
};
@@ -40,5 +40,6 @@ const completionPrev = () => {
};
export {
- showCommand, showError, hide, setCompletions, completionNext, completionPrev
+ showCommand, showError, hideCommand,
+ setCompletions, completionNext, completionPrev
};