Skip to content

Commit cf5b27c

Browse files
committed
set focus to terminal when launching it
1 parent 7ce72ef commit cf5b27c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/common/open.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export function open(opts: any): Promise<childProcess.ChildProcess> {
3131
if (process.platform === 'darwin') {
3232
cmd = 'osascript';
3333
args = [ '-e', 'tell application "terminal"',
34+
'-e', 'activate',
3435
'-e', 'do script "' + [opts.app].concat(appArgs).join(" ") + '"',
3536
'-e', 'end tell' ];
3637

0 commit comments

Comments
 (0)