mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 16:40:51 +00:00
32 lines
No EOL
607 B
JavaScript
32 lines
No EOL
607 B
JavaScript
'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; |