use mode in console message

This commit is contained in:
Shin'ya Ueoka 2017-10-08 18:41:44 +09:00
parent f6996a2274
commit b0d2b53281
11 changed files with 36 additions and 43 deletions

View file

@ -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
};