summaryrefslogtreecommitdiffstats
path: root/libsmartcols
diff options
context:
space:
mode:
authorKarel Zak2018-10-25 15:38:08 +0200
committerKarel Zak2018-12-07 12:33:34 +0100
commit6408e164e1aec1ce56b135f7cfaf2bf1669a5258 (patch)
treeb87ee66b8a937753e87db2c67a1a5522de81ecbf /libsmartcols
parentlibsmartcols: add is_last_child(), move is_last_column() (diff)
downloadkernel-qcow2-util-linux-6408e164e1aec1ce56b135f7cfaf2bf1669a5258.tar.gz
kernel-qcow2-util-linux-6408e164e1aec1ce56b135f7cfaf2bf1669a5258.tar.xz
kernel-qcow2-util-linux-6408e164e1aec1ce56b135f7cfaf2bf1669a5258.zip
libsmartcols: add another UTF symbols
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/src/table.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index 3914c88b3..14ff9de4b 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -29,10 +29,13 @@
#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) \