diff options
author | Keith Packard <keithp@keithp.com> | 2020-11-17 15:16:00 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2020-11-17 15:16:00 -0800 |
commit | a30ed360fe56a556072e1fc551ffbe6797642227 (patch) | |
tree | 44372d0f6a3b491650d10a760b3d136f2a1658af | |
parent | 2c753b5c1622afa662a4f4334dd947667f37a803 (diff) |
Make output with unknown width terminal the same as old code
Auto-detecting the terminal width and eliding icons that are too wide
is a nice new feature, but we shouldn't change the behaviour when that
width is not detectable (e.g., when output to a file). Change the
default terminal width from 80 to 144 + 8 to get back to the previous
output format.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | xprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ from The Open Group. /* isprint() in "C" locale */ #define c_isprint(c) ((c) >= 0x20 && (c) < 0x7f) -static int term_width = 80; +static int term_width = 144 + 8; /* * |