geddski / macros

macros support for VS Code
MIT License
165 stars 36 forks source link

Macro into terminal #31

Open MongoCaleb opened 6 years ago

MongoCaleb commented 6 years ago

I'm able to make a macro that switches focus to the embedded terminal, but if the macro tries to type a command in the terminal, it gets pasted in the former code window. Here's what I have:

         "workbench.action.terminal.focus",
         {"command": "type", "args": {"text": "oh hai"}},
      ]

What am I missing? Thanks!

ArturoDent commented 6 years ago

See https://github.com/geddski/macros/issues/14

usernamehw commented 5 years ago

workbench.action.terminal.sendSequence