You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Line continuation with line-initial | (pipe symbol) not recognized on Unix-like platforms. #1261
changed the title [-]Line continuation with line-initial [/-][+]Line continuation with line-initial | (pipe symbol) not recognized on Unix-like platforms.[/+]on Dec 20, 2019
This is, actually related to certain terminals, and so can be reproduced on Windows as well if not using ConsoleHost (VS Code's terminal is a prime suspect), and it has to do with whether the paste operation is performed by the terminal, or handled directly by PSReadLine.
I think Jason Shirk (@lzybkr) or Dongbo Wang (@daxian-dbw) might be looking in to a solution, related to the speed at which input characters are arriving for processing, and using that as a signal that the terminal is 'pasting'.
This is then, effectively, a duplicate to #579. Pasting on 'nix is equivalent to right-click pasting on Windows.
Activity
[-]Line continuation with line-initial [/-][+]Line continuation with line-initial | (pipe symbol) not recognized on Unix-like platforms.[/+]mklement0 commentedon Dec 20, 2019
Sorry, Jason Shirk (@lzybkr), I accidentally submitted this without content first - the report is now complete.
msftrncs commentedon Dec 21, 2019
This is, actually related to certain terminals, and so can be reproduced on Windows as well if not using ConsoleHost (VS Code's terminal is a prime suspect), and it has to do with whether the paste operation is performed by the terminal, or handled directly by PSReadLine.
I think Jason Shirk (@lzybkr) or Dongbo Wang (@daxian-dbw) might be looking in to a solution, related to the speed at which input characters are arriving for processing, and using that as a signal that the terminal is 'pasting'.
This is then, effectively, a duplicate to #579. Pasting on 'nix is equivalent to right-click pasting on Windows.
mklement0 commentedon Dec 21, 2019
Thanks, Carl Morris (@msftrncs) - I keep forgetting about #579; indeed sounds like I've created another duplicate, so I'm closing this.