Restore old defaults without any video attributes - noice - small file browser (mirror / fork from 2f30.org)
HTML git clone git://git.codemadness.org/noice
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 92b695091ecaffcd9f4eb630c740ba50fd5df2d3
DIR parent 3adbce1b597e0812f1e503e82a671a84ae105f89
HTML Author: Lazaros Koromilas <lostd@2f30.org>
Date: Sun, 3 Feb 2019 22:57:31 +0200
Restore old defaults without any video attributes
Diffstat:
M config.def.h | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
DIR diff --git a/config.def.h b/config.def.h
@@ -11,13 +11,15 @@ int showhidden = 0; /* Set to 1 to show hidden files by default */
int usecolor = 0; /* Set to 1 to enable color attributes */
char *idlecmd = "rain"; /* The screensaver program */
-#define CURSR_ATTR A_REVERSE
-#define DIR_ATTR A_BOLD | COLOR_PAIR(4)
-#define LINK_ATTR A_BOLD | COLOR_PAIR(6)
-#define SOCK_ATTR A_BOLD | COLOR_PAIR(1)
-#define FIFO_ATTR A_BOLD | COLOR_PAIR(5)
-#define EXEC_ATTR A_BOLD | COLOR_PAIR(2)
+/* See curs_attr(3) for valid video attributes */
+#define CURSR_ATTR A_NORMAL
+#define DIR_ATTR A_NORMAL | COLOR_PAIR(4)
+#define LINK_ATTR A_NORMAL | COLOR_PAIR(6)
+#define SOCK_ATTR A_NORMAL | COLOR_PAIR(1)
+#define FIFO_ATTR A_NORMAL | COLOR_PAIR(5)
+#define EXEC_ATTR A_NORMAL | COLOR_PAIR(2)
+/* Colors to use with COLOR_PAIR(n) as attributes */
struct cpair pairs[] = {
{ .fg = 0, .bg = 0 },
/* pairs start at 1 */