Is there any way to add left padding for windows cmd (Windows 10)? The output comes right after the windows border and sometimes it is hard to see the output clearly.
I don't know if this particularly warrants an answer, this might get relegated to a comment, but for me I think @RaJ's comment on the original post is a good one. I had no idea this application existed, but Windows now has a program called "Terminal". Not cmd.exe or conhost.exe, but a separate application...I find it quite good. It houses command-line programs, has a few different abilities included tabbed sessions, and..... (drum-roll) for me it solves this "text squished up against the left edge" issue, as there seems to be a slight left-edge buffer for any and all (so far as I've used it) console output.
Example...
If you kinda look at it, you can see that where I did > echo hello
in both the standard cmd.exe (foreground) and the Terminal application, "hello" in cmd is smushed right up against the edge...(hence why some of the previous output in the program I was working on has 1 space right before each line)...but in Terminal there's a bit of a gap between "hello" and the left edge.
In fact, there's a small gap even between the prompt and the edge. (Presumably/hopefully, all output and the edge.)
This Terminal application may be what I start using.
https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701
I believe you can do even more than that! since I cannot test it now..
Profile settings in Windows Terminal
Try to read this info text settings>Padding
and set the profile for Windows Terminal.
conhost.exe
(the terminal emulator program that hosts all command-line programs, of whichcmd.exe
is merely one such). – CBHacking Feb 13 '17 at 5:51