linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
0001-set-color-in-config.h.patch
(830B)
1 From 796adcd966d4ba5852c92bf5872f5b3593c541b9 Mon Sep 17 00:00:00 2001
2 From: Jul <jul@qh.is>
3 Date: Tue, 7 Oct 2025 12:02:05 +0800
4 Subject: [PATCH] set color in config.h
5
6 ---
7 src/options.c | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
9
10 diff --git a/src/options.c b/src/options.c
11 index e63985e..2163f48 100644
12 --- a/src/options.c
13 +++ b/src/options.c
14 @@ -16,9 +16,9 @@
15 #include "print.h"
16 #include "util.h"
17
18 -const char *color_line_number = "\033[1;33m"; /* bold yellow */
19 -const char *color_match = "\033[30;43m"; /* black with yellow background */
20 -const char *color_path = "\033[1;32m"; /* bold green */
21 +const char *color_line_number = COLOR_LINE_NUMBER;
22 +const char *color_match = COLOR_MATCH;
23 +const char *color_path = COLOR_PATH;
24
25 /* TODO: try to obey out_fd? */
26 void usage(void) {
27 --
28 2.51.0
29