{"action":"opened","issue":{"url":"https://api.github.com/repos/Keno/TerminalExtensions.jl/issues/34","repository_url":"https://api.github.com/repos/Keno/TerminalExtensions.jl","labels_url":"https://api.github.com/repos/Keno/TerminalExtensions.jl/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Keno/TerminalExtensions.jl/issues/34/comments","events_url":"https://api.github.com/repos/Keno/TerminalExtensions.jl/issues/34/events","html_url":"https://github.com/Keno/TerminalExtensions.jl/issues/34","id":317463631,"number":34,"title":"Please send ShellIntegrationVersion","user":{"login":"gnachman","id":427546,"avatar_url":"https://avatars3.githubusercontent.com/u/427546?v=4","gravatar_id":"","url":"https://api.github.com/users/gnachman","html_url":"https://github.com/gnachman","followers_url":"https://api.github.com/users/gnachman/followers","following_url":"https://api.github.com/users/gnachman/following{/other_user}","gists_url":"https://api.github.com/users/gnachman/gists{/gist_id}","starred_url":"https://api.github.com/users/gnachman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnachman/subscriptions","organizations_url":"https://api.github.com/users/gnachman/orgs","repos_url":"https://api.github.com/users/gnachman/repos","events_url":"https://api.github.com/users/gnachman/events{/privacy}","received_events_url":"https://api.github.com/users/gnachman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T03:04:04Z","updated_at":"2018-04-25T03:04:04Z","closed_at":null,"author_association":"NONE","body":"It looks like there's a function to send the shell integration version, but it is not called. iTerm2's bash shell integration script had a bug for a while where it did not send ShellIntegrationVersion and I'd like to be able to ask those users to upgrade. It's hard to tell bash from Julia if neither sends this code, though. I suggest: \r\n\r\n```\r\n    function shell_version_number()\r\n        return \"\\033]1337;ShellIntegrationVersion=1;shell=julia\\007\"\r\n    end\r\n```\r\n\r\nI think you'd want to call the function after `if startswith(itermname, \"ITERM2\")`, although I don't understand the Julia-specific parts well enough to be sure about that.\r\n\r\n"}}
{"actor":{"display_login":"gnachman"}}