{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/29184","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/29184/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/29184/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/29184/events","html_url":"https://github.com/Microsoft/vscode/issues/29184","id":237494905,"number":29184,"title":"Unnecessary delay when opening a terminal","user":{"login":"fabiospampinato","id":1812093,"avatar_url":"https://avatars2.githubusercontent.com/u/1812093?v=3","gravatar_id":"","url":"https://api.github.com/users/fabiospampinato","html_url":"https://github.com/fabiospampinato","followers_url":"https://api.github.com/users/fabiospampinato/followers","following_url":"https://api.github.com/users/fabiospampinato/following{/other_user}","gists_url":"https://api.github.com/users/fabiospampinato/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiospampinato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiospampinato/subscriptions","organizations_url":"https://api.github.com/users/fabiospampinato/orgs","repos_url":"https://api.github.com/users/fabiospampinato/repos","events_url":"https://api.github.com/users/fabiospampinato/events{/privacy}","received_events_url":"https://api.github.com/users/fabiospampinato/received_events","type":"User","site_admin":false},"labels":[{"id":272689392,"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"708090","default":false},{"id":256129996,"url":"https://api.github.com/repos/Microsoft/vscode/labels/help%20wanted","name":"help wanted","color":"fef2c0","default":true},{"id":362694632,"url":"https://api.github.com/repos/Microsoft/vscode/labels/integrated-terminal","name":"integrated-terminal","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars3.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars3.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestone/8","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars3.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":2225,"closed_issues":2063,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2017-06-22T14:07:27Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2017-06-21T10:58:10Z","updated_at":"2017-06-22T18:16:58Z","closed_at":null,"body":"### The Issue\r\n\r\nI'm writing an AppleScript for opening a terminal and writing some stuff in it, the problem is that without an hard coded delay between the action \"open the terminal\" and the action \"write this stuff in it\" it doesn't work.\r\n\r\nThis is what, ideally, should be working (minus the useless delay call):\r\n\r\n```applescript\r\ntell application \"Visual Studio Code\" to activate\r\ntell application \"System Events\"\r\n\tkeystroke \"`\" using control down\r\n\tdelay 0\r\n\tkeystroke \"placeholder\"\r\nend tell\r\n```\r\n\r\nThis is what I see in the terminal if I run the AppleScript with different delay values: \r\n- 0: `fabiomac:project fabio$` ❌\r\n- 0.1: `fabiomac:project fabio$` ❌\r\n- 0.15 `placeholderfabiomac:project fabio$ placeholder` ❌ 😮 \r\n- 0.2 `fabiomac:project fabio$ placeholder` ✅ \r\n\r\nIMHO this is broken because I shouldn't have to hard code environment-dependant delay calls in my AppleScripts, and consequentially I shouldn't have to wait those extra seconds.\r\n\r\n### My Setup\r\n\r\n- VSCode Version: Code 1.13.1 **[Unsupported]** (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:13:05.928Z)\r\n- OS Version: Darwin x64 16.7.0\r\n- Extensions: \r\n\r\n|Extension|Author|Version|\r\n|---|---|---|\r\n|EditorConfig|EditorConfig|0.9.3|\r\n|status-bar-tasks|GuardRex|0.2.0|\r\n|beautify|HookyQR|1.1.1|\r\n|crane|HvyIndustries|0.3.6|\r\n|vscode-docker|PeterJausovec|0.0.16|\r\n|code-settings-sync|Shan|2.8.1|\r\n|sort-lines|Tyriar|1.3.0|\r\n|vscode-color|anseki|0.4.1|\r\n|vscode-custom-css|be5invis|2.3.2|\r\n|gitignore|codezombiech|0.5.0|\r\n|vscode-svgviewer|cssho|1.4.2|\r\n|vscode-dash|deerawan|1.5.0|\r\n|python|donjayamanne|0.6.5|\r\n|applescript|idleberg|0.6.0|\r\n|indentation-level-movement|kaiwood|1.1.1|\r\n|graphql-for-vscode|kumar-harsh|1.4.1|\r\n|ecdc|mitchdenny|0.10.3|\r\n|vscode-duplicate|mrmlnc|1.1.0|\r\n|debugger-for-chrome|msjsdiag|3.1.4|\r\n|ava|samverschueren|0.4.0|\r\n|todotasks|sandy081|0.5.0|\r\n|php-ci|small|0.2.0|\r\n|Align|steve8708|0.2.0|\r\n|cordova-tools|vsmobile|1.2.7|\r\n|vscode-react-native|vsmobile|0.3.2|\r\n|change-case|wmaurer|1.0.0|;"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/310460673","html_url":"https://github.com/Microsoft/vscode/issues/29184#issuecomment-310460673","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/29184","id":310460673,"user":{"login":"cleidigh","id":25272315,"avatar_url":"https://avatars3.githubusercontent.com/u/25272315?v=3","gravatar_id":"","url":"https://api.github.com/users/cleidigh","html_url":"https://github.com/cleidigh","followers_url":"https://api.github.com/users/cleidigh/followers","following_url":"https://api.github.com/users/cleidigh/following{/other_user}","gists_url":"https://api.github.com/users/cleidigh/gists{/gist_id}","starred_url":"https://api.github.com/users/cleidigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleidigh/subscriptions","organizations_url":"https://api.github.com/users/cleidigh/orgs","repos_url":"https://api.github.com/users/cleidigh/repos","events_url":"https://api.github.com/users/cleidigh/events{/privacy}","received_events_url":"https://api.github.com/users/cleidigh/received_events","type":"User","site_admin":false},"created_at":"2017-06-22T18:16:58Z","updated_at":"2017-06-22T18:16:58Z","body":"@Tyriar \r\nsince you still think this is relevant I will continue to look into it and touch base when I have some progress"}}
{"actor":{"display_login":"cleidigh"}}