From a30ed360fe56a556072e1fc551ffbe6797642227 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 17 Nov 2020 15:16:00 -0800 Subject: 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 --- xprop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xprop.c') diff --git a/xprop.c b/xprop.c index 15c296d..55feaab 100644 --- a/xprop.c +++ b/xprop.c @@ -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; /* * -- cgit v1.2.3