Long commands line editing is cumbersome due to line wrapping and non-visible line breaks (new lines; which results in a new command, but is completely non obvious)
Picture worth thousands words.
I have to guess or forced to check (it could be any):
Either it's line wrapped;
Either there is a line break at at he end of the string and it's already two commands.
AFAICT the easiest way to solve the problem (at least partially, if showing line breaks is not feasible) is to support line continuation/breaking as cmd/bash. Then it would be possible to write visually and structurally appealing command lines:
%windir%\system32\wsl.exe --cd ~ --distribution Ubuntu \
-new_console:p5:m:/mnt
set "LANG=en_US.UTF-8" & \
set MSYSTEM=MINGW64 & \
set CHERE_INVOKING=1 & \
set "PATH=C:\msys64\usr\bin;%PATH%" & \
%ConEmuBaseDirShort%\conemu-msys2-64.exe C:\msys64\usr\bin\bash.exe --login -i \
-new_console:pC:"C:\msys64\mingw64.ico"
Long commands line editing is cumbersome due to line wrapping and non-visible line breaks (new lines; which results in a new command, but is completely non obvious)
Picture worth thousands words.![conemu_commands_linewrap](https://user-images.githubusercontent.com/3296959/151702195-c5f0ed00-479c-49c9-9dec-144aacd9ac56.PNG)
I have to guess or forced to check (it could be any):
AFAICT the easiest way to solve the problem (at least partially, if showing line breaks is not feasible) is to support line continuation/breaking as cmd/bash. Then it would be possible to write visually and structurally appealing command lines: