]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: add another UTF symbols
authorKarel Zak <kzak@redhat.com>
Thu, 25 Oct 2018 13:38:08 +0000 (15:38 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 7 Dec 2018 11:33:34 +0000 (12:33 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table.c

index 3914c88b324d953d266600dd535af2f7e035afc6..14ff9de4b8ccc4d2ac7ba79f9e1a51596f732924 100644 (file)
 #include "smartcolsP.h"
 
 #ifdef HAVE_WIDECHAR
-#define UTF_V  "\342\224\202"  /* U+2502, Vertical line drawing char */
-#define UTF_VR "\342\224\234"  /* U+251C, Vertical and right */
-#define UTF_H  "\342\224\200"  /* U+2500, Horizontal */
-#define UTF_UR "\342\224\224"  /* U+2514, Up and right */
+#define UTF_V  "\342\224\202"  /* U+2502, Vertical line drawing char |  */
+#define UTF_VR "\342\224\234"  /* U+251C, Vertical and right         |- */
+#define UTF_VL  "\342\224\244"  /* U+2524  Vertical and left         -|  */
+#define UTF_H  "\342\224\200"  /* U+2500, Horizontal                 -  */
+#define UTF_UR "\342\224\224"  /* U+2514, Up and right              '-  */
+#define UTF_UL  "\342\224\230"  /* U+2518, Up and left                -' */
+#define UTF_DL  "\342\224\220"  /* U+2510, Down and left              -, */
 #endif /* !HAVE_WIDECHAR */
 
 #define is_last_column(_tb, _cl) \