Skip to content

Commit

Permalink
two new question mark figures
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 15, 2014
1 parent 7d9bff6 commit e97270a
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict';
var platform = process.platform;

var main = {
tick: '✔︎',
Expand All @@ -14,6 +15,7 @@ var main = {
circleCircle: 'ⓞ',
circleCross: 'ⓧ',
circlePipe: 'Ⓘ',
circleQuestionMark: '?⃝',
bullet: '●',
dot: '․',
ellipsis: '…',
Expand All @@ -33,7 +35,8 @@ var main = {
checkboxOn: '☒',
checkboxOff: '☐',
checkboxCircleOn: 'ⓧ',
checkboxCircleOff: '◌'
checkboxCircleOff: '◌',
questionMarkPrefix: '?⃝',
};

var win = {
Expand All @@ -50,6 +53,7 @@ var win = {
circleCircle: '(○)',
circleCross: '(×)',
circlePipe: '(│)',
circleQuestionMark: '(?)',
bullet: '•',
dot: '.',
ellipsis: '...',
Expand All @@ -69,7 +73,13 @@ var win = {
checkboxOn: '[×]',
checkboxOff: '[ ]',
checkboxCircleOn: '(×)',
checkboxCircleOff: '( )'
checkboxCircleOff: '( )',
questionMarkPrefix: '? '
};

module.exports = process.platform === 'win32' ? win : main;
if (platform === 'linux') {
// the main one doesn't look that good on Ubuntu
main.questionMarkPrefix = '? ';
}

module.exports = platform === 'win32' ? win : main;

0 comments on commit e97270a

Please sign in to comment.