Can I adjust command line output to make columns vertically align?

2

The first image is Mac terminal output, these columns are vertically aligned.

enter image description here

This is Windows cmder output, in a mess. Can I adjust it?

enter image description here

Jacob

Posted 2015-06-16T05:56:38.560

Reputation: 23

What font are you using on Windows? It should be a fixed width font. What program is generating the output? – DavidPostill – 2015-06-16T06:46:14.497

What application are you using for your command line? The default Windows one doesn't do transparency like that. – Michael Frank – 2015-06-16T07:15:32.337

@DavidPostill I forgot about that. It is Cmder, and as your tips I changed the font, now it display things perfectly. Thank you. – Jacob – 2015-06-17T07:39:16.767

@DavidPostill I always forget about about. – Jacob – 2015-07-22T02:09:20.453

Answers

1

How can I adjust the command line output to make columns vertically align?

You are using a variable width font in your program (cmder).

To get your display to line up correctly you need to use a fixed width (monospaced) font.

Monospaced fonts are normally used for terminal, IDE and programming text editors. See below for some good reasons to do this.

Even though computers can now display a wide variety of fonts, the majority of IDEs and software text editors employ a monospaced font as the default typeface. This increases the readability of source code, which is often heavily reliant on distinctions involving individual symbols, and makes differences between letters more unambiguous in situations like password entry boxes where typing mistakes are unacceptable.[2] Monospaced fonts are also used in terminal emulation and for laying out tabulated data in plain text documents. In technical manuals and resources for programming languages, a monospaced font is often used to distinguish code from natural-language text.

Source monospaced

DavidPostill

Posted 2015-06-16T05:56:38.560

Reputation: 118 938

0

As DavidPostill says using monospaced fonts is preferred way. These fonts are shown bold in Font list box.

enter image description here

However, you may try to use proportional fonts and force ConEmu to treat them as monospaced. Just check Monospace checkbox and (optionally) experiment with Width and Cell fields. Cell will reserve width for character.

enter image description here

Maximus

Posted 2015-06-16T05:56:38.560

Reputation: 19 395