« get me outta code hell

Initial commit - tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/unichars.js
diff options
context:
space:
mode:
authorLiam <towerofnix@gmail.com>2017-01-07 18:26:02 -0400
committerLiam <towerofnix@gmail.com>2017-01-07 18:26:02 -0400
commit16da7fb310198851c2e4b02abedfb24979287242 (patch)
treed7546f7c1a3c3833e6450ea1e10af388f8848bb5 /unichars.js
Initial commit
Diffstat (limited to 'unichars.js')
-rw-r--r--unichars.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/unichars.js b/unichars.js
new file mode 100644
index 0000000..d685890
--- /dev/null
+++ b/unichars.js
@@ -0,0 +1,17 @@
+// Useful Unicode characters.
+
+module.exports = {
+  /* … */ ELLIPSIS: '\u2026',
+
+  /* ─ */ BOX_H: '\u2500',
+  /* ━ */ BOX_H_THICK: '\u2501',
+  /* ═ */ BOX_H_DOUBLE: '\u2550',
+  /* │ */ BOX_V: '\u2502',
+  /* ┃ */ BOX_V_THICK: '\u2503',
+  /* ║ */ BOX_V_DOUBLE: '\u2551',
+
+  /* ┐ */ BOX_CORNER_TR: '\u2510',
+  /* └ */ BOX_CORNER_BL: '\u2514',
+  /* ┘ */ BOX_CORNER_BR: '\u2518',
+  /* ┌ */ BOX_CORNER_TL: '\u250C'
+}