iTerm fixes

This commit is contained in:
crschnick 2023-05-22 14:05:54 +00:00
parent 55dc32bacc
commit fbad0be1e2

View file

@ -239,7 +239,10 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
"""
if application "iTerm" is running then
tell application "iTerm"
create window with profile "Default" command "%s"
set newWindow to (create window with default profile)
tell current session
write text "%s"
end tell
end tell
else
activate application "iTerm"