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

Add unicode or embolden keys #9

Open
ORESoftware opened this issue Oct 12, 2018 · 1 comment
Open

Add unicode or embolden keys #9

ORESoftware opened this issue Oct 12, 2018 · 1 comment

Comments

@ORESoftware
Copy link

ORESoftware commented Oct 12, 2018

I would like to add unicode to the tree and also use something like chalk.bold() on the tree. For example, I have this:

     └─ npm-link-up (root)
           └─ node_modules
              ├─ @oresoftware/shell
              ├─ json-stdio
              ├─ prepend-transform
              └─ residence

and it would be really awesome to have this:

     └─ npm-link-up (root)
           └─ node_modules
              ├─ @oresoftware/shell  ⏰
              ├─ json-stdio  ⏰
              ├─ prepend-transform ⏰
              └─ residence ⏰

and have bold branches using chalk.bold(), etc, is it possible somehow?

@ORESoftware
Copy link
Author

ORESoftware commented Oct 12, 2018

Right now if I do this:

node[name] = ' ⏰';

instead of

node[name] = null;

then that works. But I will still looking to get bold characters if possible

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

1 participant