Feature Request:When AI interacts with the terminal, can the function of inserting commands into the terminal be added?

I’m using SSH in Terminal to connect to a remote Linux system. I want to directly insert commands into the terminal and execute Linux commands, but the cursor opens a new PowerShell window to execute the command.

I hope to add an insert function, so that it can be convenient to run Linux commands.