Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty space instead of tick symbol #5

Closed
vadimgoncharov opened this issue Nov 18, 2014 · 2 comments
Closed

empty space instead of tick symbol #5

vadimgoncharov opened this issue Nov 18, 2014 · 2 comments

Comments

@vadimgoncharov
Copy link

Very strange bug in Mac OS 10.10 iTerm:

require('figures').tick
// produce empty symbol

I don't know why this happens, but it fixed with:

Object.keys(symbols).forEach(function(key) {
    symbols[key] = fromCharCode(symbols[key].charCodeAt(0));
});

Example:

var figures = require('figures');
var patchedFigures = require('../figures');

Object.keys(figures).forEach(function(key) {
    console.log('"%s" "%s"', patchedFigures[key], figures[key]);
});
// see screenshot below

screenshot

@sindresorhus
Copy link
Owner

So weird.

@ehmicky
Copy link
Collaborator

ehmicky commented Mar 4, 2024

See #102: the invisible character was variation selection 15, U+FE0E.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants