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 }}
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
The PS1 trick in AbstractCore#run_in_window does nothing in iTerm 2. The patch described in #63 would fix the issue (in both iTerm 1 and 2), but applying it directly is not the best solution. Ideally, setting PS1 should be abstracted away somehow so that iterm_core.rb can override it. #set_options would be the best place for this, as it already has the responsibility of taking the tab options and applying them to the tab. However that would work for iTerm but not for setting PS1, because it accepts an options hash and doesn't have access to the appscript tab object, so it can't write commands to the tab. So there's a bit of work that has to be done to fix this issue correctly.
The PS1 trick in AbstractCore#run_in_window does nothing in iTerm 2. The patch described in #63 would fix the issue (in both iTerm 1 and 2), but applying it directly is not the best solution. Ideally, setting PS1 should be abstracted away somehow so that iterm_core.rb can override it. #set_options would be the best place for this, as it already has the responsibility of taking the tab options and applying them to the tab. However that would work for iTerm but not for setting PS1, because it accepts an options hash and doesn't have access to the appscript tab object, so it can't write commands to the tab. So there's a bit of work that has to be done to fix this issue correctly.