Vscode: Support tmux control mode (-CC flag)

Created on 14 Feb 2020  路  12Comments  路  Source: microsoft/vscode

Issue Type: Feature Request

I saw the suggestion from @roblourens to use tmux in microsoft/vscode-remote-release#1185

That's mostly good, however has a few issues:

  • code command doesn't work inside tmux.
  • no GUI support - the built-in tab management and split panes then aren't usable.
  • scrolling doesn't work (control codes not sent to the terminal?)

I'd love to see support for tmux's control mode (tmux -CC) - then vscode could use its native tab/window management and sessions would be persisted between app opens/closes.

Extension version: 0.36.0
VS Code version: Code - Insiders 1.34.0-insider (daf71423252a707b8e396e8afa8102b717f8213b, 2019-05-06T22:07:35.830Z)
OS version: Darwin x64 18.7.0
Remote OS version: Linux x64 5.2.17-1rodete3-amd64

feature-request integrated-terminal

Most helpful comment

This came up somewhere else relatively recently so I wrote this page https://github.com/tmux/tmux/wiki/Control-Mode which gives a description of control mode.

Control mode was written for iTerm2 and in some ways stopped at the point where it does everything iTerm2 needs, but I'm open to extending it further if needed. If you move forward with this do feel free to contact me if you have any questions or suggestions.

All 12 comments

Request to keep processes across window reloads: https://github.com/microsoft/vscode/issues/20013

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Does a thumbs up count as an upvote?


This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding


:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

I'm going to recreate this.

I'm sharing this elsewhere... @Tyriar can you confirm that all a user needs to do is "thumbs-up" the original comment?

@dfee I've moved it to backlog so you can ignore that comment. The amount of up votes is one indicator we use for prioritization though.

@Tyriar awesome. I also came across this article from 2017 ("Persistent terminal sessions in VS Code") that your colleague wrote. Didn't realize you were the one who'd implemented a lot of the underlying functionality already.

Thanks for your awesome work on VSCode 馃槃

This came up somewhere else relatively recently so I wrote this page https://github.com/tmux/tmux/wiki/Control-Mode which gives a description of control mode.

Control mode was written for iTerm2 and in some ways stopped at the point where it does everything iTerm2 needs, but I'm open to extending it further if needed. If you move forward with this do feel free to contact me if you have any questions or suggestions.

@nicm thanks, this will be handy when we work on this.

I use iterm2 and tmux -CC to establish a multi-process workflow for doing development of code that runs inside of heroku one-off dyno's ...

heroku run tmux -CC

I would really love if the terminal in vscode supported tmux control mode ... so that I could build custom vscode based development workflows in a cross platform way (without requiring all developers have a tmux control mode compatible shell - iterm2)

Was this page helpful?
0 / 5 - 0 ratings