microsoft / microsoft/vscode

VSCode terminal wraps multiline command by truncating command to single line and did not provide override

Open
#336,257 0 comments 0 reactions 1 assignee Claimed by @anthonykim1 View on GitHub
terminal
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: 1.137.0
- OS Version: Windows_NT x64 10.0.26200

Steps to Reproduce:

1. Open terminal and SSH to linux remote with bash command line.
2. Type command long enough to wrap on min 3-4 lines, check view only show suffix of line.

Example Command and Expected output:
````
mahesh@mypc:/home/mahesh/aaa/bbb/aaa/ccc/bbb/sss/dddd/.../bin/mytool --arg /aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/cccccccccccccccccccccccccccccccc/mytext.txt
````
Problem: when cursor at start
```
mahesh@mypc:/home/mahesh/aaa/bbb/aaa/ccc/bbb/sss/dddd/.../bin/mytool --arg /aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbb>
```
Problem: when cursor at end
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.