Skip to content

[Feature]: Sending a command to multiple terminals #1572

@kamack38

Description

@kamack38

Feature description

Currently, there is no way to send a command to multiple terminals. For example, I want to execute some program on multiple ssh blocks.

Implementation Suggestion

  1. GUI toolbar (this is the solution I would most satisfied with) - A GUI toolbar that would allow the user to type a command and select the blocks (in this case terminals) to send it to, grouped by workspaces and tabs (if I want to send a command to all workspaces or only a selected one without having to click through each terminal).
  2. Advanced macro system - This would allow me to record a macro (type the command I want to execute and press enter to execute it) and then execute it on multiple terminals, by selecting the blocks in which I want the macro executed.
  3. Better scripting support - I haven't found a way to get the IDs or names of all ssh terminals in a workspace and then send a command to each of them. The best way would be to add a command to list all blocks in a computer readable format (like JSON or YAML) and then filter only those that are connected over ssh and send the desired command to them.

Anything else?

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions