I believe this may be the same or similar to this issue reported by me:
https://discourse.julialang.org/t/reset-repl-terminal-mode-to-working-default-settings/51892
I wanted to use the REPL shell mode to call cygwin programs:
shell> ls
20201105_12 20201106_11 Manifest.toml Project.toml io_caen movers test_proj tutorial
←[7C←[32m←[1mjulia> ←[0m←[0m
but the teminal mode in the julia repl gets screwed up. A sort of work around is to use the windows cmd.exe to indirectly call the desired program like this:
shell> cmd /c ls
20201105_12 20201106_11 Manifest.toml Project.toml io_caen movers test_proj tutorial
julia>
Note that the line mode at the Julia REPL is now correct. After seeing your issue, I think maybe the problem is that the julia mode in the REPL is letting terminal settings from shell (and presumably help) mode leak in. Would adding a reset to the julia the current julia terminal mode fix the problem?