From 5b17f8ba9f3aa0069985098a48574b79e8635f52 Mon Sep 17 00:00:00 2001 From: josuah Date: Fri, 21 Oct 2016 18:40:50 -0400 Subject: [PATCH] Made line numbers optional with a debug flag --- iomenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iomenu.c b/iomenu.c index a18e69c..0db244b 100644 --- a/iomenu.c +++ b/iomenu.c @@ -15,6 +15,7 @@ enum { FALSE = 0, TRUE = 1 }; /* debug switches */ #define COMPLETE_MODE 0 +#define LINE_NUMBERS 1 /* preprocessor macros */ #define LENGTH(x) (sizeof(x) / sizeof(*x)) @@ -199,7 +200,7 @@ print_line(Line *line, int current, int cols) fputs("\033[K", stderr); /* line number if option set */ - if (TRUE) { + if (LINE_NUMBERS) { if (current) { fputs("\033[1m", stderr); } else { -- 2.11.4.GIT