microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.9k stars 29.52k forks source link

Command copied from fish shell gets line wrap #234704

Open ZZYSonny opened 5 days ago

ZZYSonny commented 5 days ago

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

Steps to Reproduce:

  1. Prepare a very long command in terminal.
  2. Select the command, Copy, and Paste into a file.

Image

meganrogge commented 4 days ago

Why is it important to you to maintain the line wrapping ?

ZZYSonny commented 1 day ago

Sometimes I copy arguments from my previous command into the current command. Also because I configure the terminal to be thin and tall on the right hand side, the problem is more likely to appear.

Also I don't see the behavior in my local terminal. So I suspect this is a bug from VSCode integrated terminal, instead of my tools.