1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 12:10:31 -04:00
ports/x11/ly/files/patch-src_draw.c
Baptiste Daroussin 428498db4b x11/ly: FreeBSD users deserves nice bars in console
Ly by default when not running on linux uses ugly ascii art instead of
nice drawing on the console, now FreeBSD also have the nice drawing
2022-02-04 16:17:15 +01:00

11 lines
350 B
C

--- src/draw.c.orig 2022-02-04 14:30:20 UTC
+++ src/draw.c
@@ -47,7 +47,7 @@ void draw_init(struct term_buf* buf)
+ (config.input_len + 1)
+ buf->labels_max_len;
-#if defined(__linux__)
+#if defined(__linux__) || defined(__FreeBSD__)
buf->box_chars.left_up = 0x250c;
buf->box_chars.left_down = 0x2514;
buf->box_chars.right_up = 0x2510;