Commit d0b39873 authored by Nils Goroll's avatar Nils Goroll

ensure columns are separated by at least one space

Fixes #2943
parent a7b80c7c
......@@ -99,6 +99,8 @@ VCLI_VTE(struct cli *cli, struct vsb **src, int width)
nsp = (width - (w_ln)) / n_col;
if (nsp > 3)
nsp = 3;
if (nsp < 1)
nsp = 1;
cc = 0;
wc = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment