From 7ac00fce6f6c431f96c531179c6af3796df7e07a Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 8 Oct 2017 19:08:51 +0900 Subject: Show info on yanked --- src/console/reducers/index.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/console/reducers') diff --git a/src/console/reducers/index.js b/src/console/reducers/index.js index 78b73b0..d4affa7 100644 --- a/src/console/reducers/index.js +++ b/src/console/reducers/index.js @@ -57,6 +57,11 @@ export default function reducer(state = defaultState, action = {}) { mode: 'error', messageText: action.text, }); + case actions.CONSOLE_SHOW_INFO: + return Object.assign({}, state, { + mode: 'info', + messageText: action.text, + }); case actions.CONSOLE_HIDE_COMMAND: return Object.assign({}, state, { mode: state.mode === 'command' ? '' : state.mode, -- cgit v1.2.3