Skip to content

Commit

Permalink
Set $TERM to xterm-256color instead of default vt100 (fixes #299)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoofsKelvin committed Nov 2, 2021
1 parent 29cae0e commit 16ffd1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

## Unreleased

### Changes
- Set `$TERM` to `xterm-256color` instead of the default `vt100` (#299)

### Fixes
- Write `REMOTE_COMMANDS` profile script to separate file for each user (#292)
- Multiple users making use of this feature would use the same `/tmp/...` file, resulting in permission issues
Expand Down
2 changes: 1 addition & 1 deletion src/pseudoTerminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { environmentToExportString, joinCommands, mergeEnvironment, toPromise }

const [HEIGHT, WIDTH] = [480, 640];
const PSEUDO_TTY_OPTIONS: PseudoTtyOptions = {
height: HEIGHT, width: WIDTH,
height: HEIGHT, width: WIDTH, term: 'xterm-256color',
};

export interface SSHPseudoTerminal extends vscode.Pseudoterminal {
Expand Down

0 comments on commit 16ffd1e

Please sign in to comment.