You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
628 B
34 lines
628 B
2 years ago
|
'use strict';
|
||
|
|
||
|
const main = {
|
||
|
arrowUp: '↑',
|
||
|
arrowDown: '↓',
|
||
|
arrowLeft: '←',
|
||
|
arrowRight: '→',
|
||
|
radioOn: '◉',
|
||
|
radioOff: '◯',
|
||
|
tick: '✔',
|
||
|
cross: '✖',
|
||
|
ellipsis: '…',
|
||
|
pointerSmall: '›',
|
||
|
line: '─',
|
||
|
pointer: '❯'
|
||
|
};
|
||
|
const win = {
|
||
|
arrowUp: main.arrowUp,
|
||
|
arrowDown: main.arrowDown,
|
||
|
arrowLeft: main.arrowLeft,
|
||
|
arrowRight: main.arrowRight,
|
||
|
radioOn: '(*)',
|
||
|
radioOff: '( )',
|
||
|
tick: '√',
|
||
|
cross: '×',
|
||
|
ellipsis: '...',
|
||
|
pointerSmall: '»',
|
||
|
line: '─',
|
||
|
pointer: '>'
|
||
|
};
|
||
|
const figures = process.platform === 'win32' ? win : main;
|
||
|
|
||
|
module.exports = figures;
|