|
@@ -85,6 +85,12 @@ EOF
|
|
|
tell application "System Events"
|
|
|
tell process "Tabby" to keystroke "t" using command down
|
|
|
end tell
|
|
|
+EOF
|
|
|
+ elif [[ "$the_app" == 'ghostty' ]]; then
|
|
|
+ osascript >/dev/null <<EOF
|
|
|
+ tell application "System Events"
|
|
|
+ tell process "Ghostty" to keystroke "t" using command down
|
|
|
+ end tell
|
|
|
EOF
|
|
|
else
|
|
|
echo "$0: unsupported terminal app: $the_app" >&2
|
|
@@ -139,6 +145,12 @@ EOF
|
|
|
tell application "System Events"
|
|
|
tell process "Tabby" to keystroke "D" using command down
|
|
|
end tell
|
|
|
+EOF
|
|
|
+ elif [[ "$the_app" == 'ghostty' ]]; then
|
|
|
+ osascript >/dev/null <<EOF
|
|
|
+ tell application "System Events"
|
|
|
+ tell process "Ghostty" to keystroke "D" using command down
|
|
|
+ end tell
|
|
|
EOF
|
|
|
else
|
|
|
echo "$0: unsupported terminal app: $the_app" >&2
|
|
@@ -194,6 +206,12 @@ EOF
|
|
|
tell application "System Events"
|
|
|
tell process "Tabby" to keystroke "d" using command down
|
|
|
end tell
|
|
|
+EOF
|
|
|
+ elif [[ "$the_app" == 'ghostty' ]]; then
|
|
|
+ osascript >/dev/null <<EOF
|
|
|
+ tell application "System Events"
|
|
|
+ tell process "Ghostty" to keystroke "d" using command down
|
|
|
+ end tell
|
|
|
EOF
|
|
|
else
|
|
|
echo "$0: unsupported terminal app: $the_app" >&2
|