diff options
Diffstat (limited to 'src/console/actions/console.js')
-rw-r--r-- | src/console/actions/console.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/console/actions/console.js b/src/console/actions/console.js index aacc21a..0d891bb 100644 --- a/src/console/actions/console.js +++ b/src/console/actions/console.js @@ -14,6 +14,13 @@ const showError = (text) => { }; }; +const showInfo = (text) => { + return { + type: actions.CONSOLE_SHOW_INFO, + text: text + }; +}; + const hideCommand = () => { return { type: actions.CONSOLE_HIDE_COMMAND, @@ -40,6 +47,6 @@ const completionPrev = () => { }; export { - showCommand, showError, hideCommand, + showCommand, showError, showInfo, hideCommand, setCompletions, completionNext, completionPrev }; |