SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
543 stars 36 forks source link

Add a configuration field to specify TERM value #306

Closed rowheel closed 2 years ago

rowheel commented 2 years ago

If TERM is default to vt100, applications like tmux or vim with custom configurations just won't work properly.

Issuing export TERM="xterm-256color" to the taskCommand field doesn't seem to work either, so the current workaround is to type that in terminal every time a new SSH session is started.

I know this is not the main purpose of what this extension is developed for (hence the name vscode-sshfs instead of vscode-sshclient, but please kindly consider adding such capabilities to configure TERM setting.

SchoofsKelvin commented 2 years ago

Duplicate of #299, for which a fix just got released in v1.24.0 of the extension. The extension now automatically sets TERM to xterm-256color since that's what VS Code's integrated terminal supports.

Adding export TERM to the Terminal Command should've worked if you ended up with something like export TERM="..."; $SHELL. As for taskCommand, it should also work. If the released fix doesn't solve your issue, feel free to reopen this with the settings you changed.

rowheel commented 2 years ago

Splendid!