raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.37k stars 3.07k forks source link

[Terminal] Executed command opens in new second window #14589

Open anarqist opened 1 month ago

anarqist commented 1 month ago

Extension

https://www.raycast.com/ron-myers/terminal

Raycast Version

1.83.1

macOS Version

15.0

Description

When executing any command on terminal extensions it opens correctly a new window and executes the command. But annoyingly it opens it in a second window. Behind that window is the first "blank" one. If Terminal as an application is already running in the background with no open window it will only open one new window and not two (one for the command and a blank one).

Steps To Reproduce

  1. Open raycast
  2. Open Terminal extension
  3. Execute command in extension
  4. New terminal window opens with executed command
  5. Behind that window another blank one opens as well, if Terminal was not already open.

Current Behaviour

  1. Open raycast
  2. Open Terminal extension
  3. Execute command in extension
  4. New terminal window opens with executed command
  5. Behind that window another blank one opens as well, if Terminal was not already open.

Expected Behaviour

Only open one window with the executed command.

raycastbot commented 1 month ago

Thank you for opening this issue!

🔔 @ron-myers you might want to have a look.

💡 Author and Contributors commands The author and contributors of `ron-myers/terminal` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
raycastbot commented 14 hours ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊