softprops / treeline

rust in trees
MIT License
25 stars 6 forks source link

fix: use correct character for vertical line #8

Closed yuhr closed 2 years ago

yuhr commented 2 years ago

The current character (|; U+007C VERTICAL LINE) doesn't connect the line correctly. Let's use the correct character (; U+2502 BOX DRAWINGS LIGHT VERTICAL).

Before:

target
└── debug
    ├── .cargo-lock
    ├── .fingerprint
    |   └── treeline-21a5bdbd42e0b6da
    |       ├── dep-example-tree
    |       ├── dep-lib-treeline
    |       ├── example-tree
    |       ├── example-tree.json
    |       ├── lib-treeline
    |       └── lib-treeline.json
    ├── build
    ├── deps
    |   └── libtreeline.rlib
    ├── examples
    |   ├── tree
    |   └── tree.dSYM
    |       └── Contents
    |           ├── Info.plist
    |           └── Resources
    |               └── DWARF
    |                   └── tree
    ├── libtreeline.rlib
    └── native

After:

target
└── debug
    ├── .cargo-lock
    ├── .fingerprint
    │   └── treeline-21a5bdbd42e0b6da
    │       ├── dep-example-tree
    │       ├── dep-lib-treeline
    │       ├── example-tree
    │       ├── example-tree.json
    │       ├── lib-treeline
    │       └── lib-treeline.json
    ├── build
    ├── deps
    │   └── libtreeline.rlib
    ├── examples
    │   ├── tree
    │   └── tree.dSYM
    │       └── Contents
    │           ├── Info.plist
    │           └── Resources
    │               └── DWARF
    │                   └── tree
    ├── libtreeline.rlib
    └── native
softprops commented 2 years ago

Nice!

yuhr commented 2 years ago

@softprops Thanks, could you publish a new release with this fix anytime soon?