aboutsummaryrefslogtreecommitdiff
path: root/src/background/actions/operation.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 15:29:37 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 15:29:37 +0900
commitd262fd1a2f5d5c7864175acd54c910a064a42fc3 (patch)
tree47e554ec89230a06558f490cb22c15b9160ddd19 /src/background/actions/operation.js
parent940f3c7f791b38262563dc05a905b8f7caabf769 (diff)
support w/W command
Diffstat (limited to 'src/background/actions/operation.js')
-rw-r--r--src/background/actions/operation.js6
1 files changed, 6 insertions, 0 deletions
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: