aboutsummaryrefslogtreecommitdiff
path: root/node_modules/prompts/dist/util/figures.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/prompts/dist/util/figures.js')
-rw-r--r--node_modules/prompts/dist/util/figures.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/node_modules/prompts/dist/util/figures.js b/node_modules/prompts/dist/util/figures.js
new file mode 100644
index 0000000..036ec50
--- /dev/null
+++ b/node_modules/prompts/dist/util/figures.js
@@ -0,0 +1,32 @@
+'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; \ No newline at end of file