From d262fd1a2f5d5c7864175acd54c910a064a42fc3 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 8 Oct 2017 15:29:37 +0900 Subject: support w/W command --- src/background/actions/operation.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/background/actions/operation.js') diff --git a/src/background/actions/operation.js b/src/background/actions/operation.js index d736c09..b94c117 100644 --- a/src/background/actions/operation.js +++ b/src/background/actions/operation.js @@ -42,6 +42,12 @@ const exec = (operation, tab) => { return sendConsoleShowCommand(tab, 'tabopen ' + tab.url); } return sendConsoleShowCommand(tab, 'tabopen '); + case operations.COMMAND_SHOW_WINOPEN: + if (operation.alter) { + // alter url + return sendConsoleShowCommand(tab, 'winopen ' + tab.url); + } + return sendConsoleShowCommand(tab, 'winopen '); case operations.COMMAND_SHOW_BUFFER: return sendConsoleShowCommand(tab, 'buffer '); default: -- cgit v1.2.3