figures.js 607 B

1234567891011121314151617181920212223242526272829303132
  1. 'use strict';
  2. const main = {
  3. arrowUp: '↑',
  4. arrowDown: '↓',
  5. arrowLeft: '←',
  6. arrowRight: '→',
  7. radioOn: '◉',
  8. radioOff: '◯',
  9. tick: '✔',
  10. cross: '✖',
  11. ellipsis: '…',
  12. pointerSmall: '›',
  13. line: '─',
  14. pointer: '❯'
  15. };
  16. const win = {
  17. arrowUp: main.arrowUp,
  18. arrowDown: main.arrowDown,
  19. arrowLeft: main.arrowLeft,
  20. arrowRight: main.arrowRight,
  21. radioOn: '(*)',
  22. radioOff: '( )',
  23. tick: '√',
  24. cross: '×',
  25. ellipsis: '...',
  26. pointerSmall: '»',
  27. line: '─',
  28. pointer: '>'
  29. };
  30. const figures = process.platform === 'win32' ? win : main;
  31. module.exports = figures;