« get me outta code hell

unichars.js « util - 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/unichars.js
blob: d685890f58fd5f62fb5e636dad3c09b3fe0a9090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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'
}