aboutsummaryrefslogtreecommitdiff
path: root/src/console/actions/console.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/actions/console.js')
-rw-r--r--src/console/actions/console.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/console/actions/console.js b/src/console/actions/console.js
index 01d9a9b..0d891bb 100644
--- a/src/console/actions/console.js
+++ b/src/console/actions/console.js
@@ -14,9 +14,16 @@ const showError = (text) => {
};
};
-const hide = () => {
+const showInfo = (text) => {
return {
- type: actions.CONSOLE_HIDE
+ type: actions.CONSOLE_SHOW_INFO,
+ text: text
+ };
+};
+
+const hideCommand = () => {
+ return {
+ type: actions.CONSOLE_HIDE_COMMAND,
};
};
@@ -40,5 +47,6 @@ const completionPrev = () => {
};
export {
- showCommand, showError, hide, setCompletions, completionNext, completionPrev
+ showCommand, showError, showInfo, hideCommand,
+ setCompletions, completionNext, completionPrev
};