« get me outta code hell

Add arrows to unichars - tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2017-12-08 10:24:40 -0400
committerFlorrie <towerofnix@gmail.com>2017-12-08 10:24:40 -0400
commit12f5eb1f7b6c02972ad23e698a418210ed743632 (patch)
treed83d3a4c47fda21927271bd1fa5b7be12bd0eb6e /util
parent41219968957b3557e654b4e8c91a5ea8c71ef710 (diff)
Add arrows to unichars
Diffstat (limited to 'util')
-rw-r--r--util/unichars.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/util/unichars.js b/util/unichars.js
index d685890..0c2c5ec 100644
--- a/util/unichars.js
+++ b/util/unichars.js
@@ -13,5 +13,18 @@ module.exports = {
   /* ┐ */ BOX_CORNER_TR: '\u2510',
   /* └ */ BOX_CORNER_BL: '\u2514',
   /* ┘ */ BOX_CORNER_BR: '\u2518',
-  /* ┌ */ BOX_CORNER_TL: '\u250C'
+  /* ┌ */ BOX_CORNER_TL: '\u250C',
+
+  /* ← */ ARROW_LEFT: '\u2190',
+  /* ↑ */ ARROW_UP: '\u2191',
+  /* → */ ARROW_RIGHT: '\u2192',
+  /* ↓ */ ARROW_DOWN: '\u2193',
+  /* ↔ */ ARROW_LEFT_RIGHT: '\u2194',
+  /* ↕ */ ARROW_UP_DOWN: '\u2195',
+  /* ⇐ */ ARROW_LEFT_DOUBLE: '\u21D0',
+  /* ⇑ */ ARROW_UP_DOUBLE: '\u21D1',
+  /* ⇒ */ ARROW_RIGHT_DOUBLE: '\u21D2',
+  /* ⇓ */ ARROW_DOWN_DOUBLE: '\u21D3',
+  /* ⇔ */ ARROW_LEFT_RIGHT_DOUBLE: '\u21D4',
+  /* ⇕ */ ARROW_UP_DOWN_DOUBLE: '\u21D5'
 }