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