From ca9ff7e94177388a73842713ff37a84fd3eaad53 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 31 May 2019 14:56:25 -0700 Subject: Moved colwidths to config --- config.def.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 816e660..fcf0838 100644 --- a/config.def.h +++ b/config.def.h @@ -91,6 +91,8 @@ typedef struct { // These commands will run at startup (before command-line arguments) extern const char *startupcmds[]; +extern const int colwidths[128]; + const char *startupcmds[] = { ////////////////////////////////////////////// // User-defined startup commands can go here @@ -103,6 +105,18 @@ const char *startupcmds[] = { NULL, // NULL-terminated array }; +// Column widths: +const int colwidths[128] = { + ['*'] = 2, + ['s'] = 9, + ['m'] = 21, + ['a'] = 21, + ['c'] = 21, + ['p'] = 5, + ['n'] = 40, + ['r'] = 2, +}; + #ifdef __APPLE__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" -- cgit v1.2.3