syntaur 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7858,13 +7858,13 @@ function buildTerminalDispatch(installedTerminals) {
7858
7858
  branches.push({
7859
7859
  id: "ghostty",
7860
7860
  block: [
7861
- ' tell application "Ghostty"',
7862
- " activate",
7863
- " set newWin to (new window)",
7864
- " delay 0.2",
7865
- " set t to terminal 1 of selected tab of newWin",
7866
- " input text shellCmd to t",
7867
- ' send key "enter" to t',
7861
+ ' tell application "Ghostty" to activate',
7862
+ " delay 0.3",
7863
+ ' tell application "System Events"',
7864
+ ' keystroke "n" using command down',
7865
+ " delay 0.4",
7866
+ " keystroke shellCmd",
7867
+ " key code 36",
7868
7868
  " end tell"
7869
7869
  ]
7870
7870
  });