Closed Merith-TK closed 4 years ago
This patch doesn't work as you'd expect as code-server always opens the last opened dir before it tries to open whatever was passed on the command line. cdr/code-server#1132
Okay this resolves it for code-server, but i was linked back here on sshcode, that resolves code-server, not sshcode.
Working on an idea to get 3.0.2 working on sshcode
as stated, this line https://github.com/cdr/sshcode/blob/master/sshcode.go#L147
should be
as code-server is no longer opening (atleast for me) in the users PWD when they call it
This edit tells code-server to open that path DIRECTLY from code-server same concept as upstream vscode
I have already implemented this in my fork (not yet pushed as i am still fixing it up)