mirror of https://github.com/lukechilds/node.git
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.
91 lines
1.7 KiB
91 lines
1.7 KiB
'use strict';
|
|
var platform = process.platform;
|
|
|
|
var main = {
|
|
tick: '✔',
|
|
cross: '✖',
|
|
star: '★',
|
|
square: '▇',
|
|
squareSmall: '◻',
|
|
squareSmallFilled: '◼',
|
|
play: '▶',
|
|
circle: '◯',
|
|
circleFilled: '◉',
|
|
circleDotted: '◌',
|
|
circleDouble: '◎',
|
|
circleCircle: 'ⓞ',
|
|
circleCross: 'ⓧ',
|
|
circlePipe: 'Ⓘ',
|
|
circleQuestionMark: '?⃝',
|
|
bullet: '●',
|
|
dot: '․',
|
|
line: '─',
|
|
ellipsis: '…',
|
|
pointer: '❯',
|
|
pointerSmall: '›',
|
|
info: 'ℹ',
|
|
warning: '⚠',
|
|
hamburger: '☰',
|
|
smiley: '㋡',
|
|
mustache: '෴',
|
|
heart: '♥',
|
|
arrowUp: '↑',
|
|
arrowDown: '↓',
|
|
arrowLeft: '←',
|
|
arrowRight: '→',
|
|
radioOn: '◉',
|
|
radioOff: '◯',
|
|
checkboxOn: '☒',
|
|
checkboxOff: '☐',
|
|
checkboxCircleOn: 'ⓧ',
|
|
checkboxCircleOff: 'Ⓘ',
|
|
questionMarkPrefix: '?⃝'
|
|
};
|
|
|
|
var win = {
|
|
tick: '√',
|
|
cross: '×',
|
|
star: '*',
|
|
square: '█',
|
|
squareSmall: '[ ]',
|
|
squareSmallFilled: '[█]',
|
|
play: '►',
|
|
circle: '( )',
|
|
circleFilled: '(*)',
|
|
circleDotted: '( )',
|
|
circleDouble: '( )',
|
|
circleCircle: '(○)',
|
|
circleCross: '(×)',
|
|
circlePipe: '(│)',
|
|
circleQuestionMark: '(?)',
|
|
bullet: '*',
|
|
dot: '.',
|
|
line: '─',
|
|
ellipsis: '...',
|
|
pointer: '>',
|
|
pointerSmall: '»',
|
|
info: 'i',
|
|
warning: '‼',
|
|
hamburger: '≡',
|
|
smiley: '☺',
|
|
mustache: '┌─┐',
|
|
heart: main.heart,
|
|
arrowUp: main.arrowUp,
|
|
arrowDown: main.arrowDown,
|
|
arrowLeft: main.arrowLeft,
|
|
arrowRight: main.arrowRight,
|
|
radioOn: '(*)',
|
|
radioOff: '( )',
|
|
checkboxOn: '[×]',
|
|
checkboxOff: '[ ]',
|
|
checkboxCircleOn: '(×)',
|
|
checkboxCircleOff: '( )',
|
|
questionMarkPrefix: '?'
|
|
};
|
|
|
|
if (platform === 'linux') {
|
|
// the main one doesn't look that good on Ubuntu
|
|
main.questionMarkPrefix = '?';
|
|
}
|
|
|
|
module.exports = platform === 'win32' ? win : main;
|
|
|