You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7ce0673
Browse filesBrowse the repository at this point in the historyBrowse files
Offer opening iTerm2 as a tab instead of a new window (issue #712)
Reuse a terminal window that is already open, which is usually what is
wanted when a repository is sent to iTerm2.
- Add an "Open as tab" preference beside the terminal handler, off by
default so the existing behaviour is unchanged
- Write the command into a new tab of iTerm2's current window when the
preference is on, falling back to a new window when iTerm2 is not
running or has none open
- Gray the preference out for Terminal.app, which has no Apple Event
for opening a tab
- Clear the opened session with `tput clear` rather than `clear`, which
emits ESC[3J and makes iTerm2 break into the new tab to ask whether
discarding the scrollback is allowed
- Raise the checkbox to sit directly under the terminal popup, so it
reads as belonging to "Open in Terminal:" rather than to the Gist
options below it
<buttonCellkey="cell"type="check"title="Confirm creation of Gists"bezelStyle="regularSquare"imagePosition="left"alignment="left"state="on"inset="2"id="98">
0 commit comments