Cannot fullscreen when opening with `code .` from terminal
- VSCode Version: 1.2.1 (1.2.1)
- OS Version: OSX 10.11.5 (15F34)
Steps to Reproduce:
- Navigate to the desired folder of your project.
- execute
code . - Press the green "fullscreen" button, OR
cmd+ctrl+F - Application does not resize.
Can you provide a recording of this behavior? I can't reproduce it.

In testing I've realized that the issue only arises when code is called from within tmux.
Can you reproduce it with plain Electron?
I can repro this very easily on OS X. as @CodeCorrupt said, type tmux then code . and full-screen does not work as in the screen recording above.
here's the diff of env variables (ps eww <pid>) of the vscode main process got when launched directly (<) and from tmux (>):
3c3
< ELECTRON_NO_ATTACH_CONSOLE
---
> ELECTRON_NO_ATTACH_CONSOLE=1
18c18
< SHLVL=2
---
> SHLVL=3
21c21
< TERM=xterm-256color
---
> TERM=screen-256color
25a26,27
> TMUX=/private/tmp/tmux-501/default,31436,0
> TMUX_PANE=%0
TERM might be causing this issue but when I exported it manually, it still didn't work...
@ahmetalpbalkan I did not understand whether you could reproduce this with Electron.
Could we not have a code -f . option to open the application from terminal that opens it fullscreen straight away?
@jchannon That's another feature. Feel free to file a new issue for it.
@ahmetalpbalkan Can you reproduce this with plain Electron?
This appears to have been fixed. I'm no longer experiencing the issue. (Not sure which update fixed it though)
Thanks.