aboutsummaryrefslogtreecommitdiff
path: root/src/console/actions/console.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-03-04 17:57:56 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-03-04 17:57:56 +0900
commit37410b874f89de4907ba038244318129835e8157 (patch)
treef9f3c8e0efc1fcd7117b2b681145464a3585781a /src/console/actions/console.js
parent0211d7781fffdb0f4e9a5e523f0f6ea24c5c8db8 (diff)
add hide action for console
Diffstat (limited to 'src/console/actions/console.js')
-rw-r--r--src/console/actions/console.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/console/actions/console.js b/src/console/actions/console.js
index 2cf8e8d..f80045f 100644
--- a/src/console/actions/console.js
+++ b/src/console/actions/console.js
@@ -1,5 +1,11 @@
import actions from 'console/actions';
+const hide = () => {
+ return {
+ type: actions.CONSOLE_HIDE,
+ };
+};
+
const showCommand = (text) => {
return {
type: actions.CONSOLE_SHOW_COMMAND,
@@ -61,6 +67,6 @@ const completionPrev = () => {
};
export {
- showCommand, showFind, showError, showInfo, hideCommand, setConsoleText,
+ hide, showCommand, showFind, showError, showInfo, hideCommand, setConsoleText,
setCompletions, completionNext, completionPrev
};