Skip to content

Forward slashes break the display #5

@vizcay

Description

@vizcay

Describe the problem

Everything before the last forward slash is lost.

Steps to reproduce the problem

puts TTY::Tree.new('users' => ['01/01/2022']).render
users
└── 2022

Describe your environment

  • Ruby version: 2.6.5
  • TTY::Tree version: tty-tree (0.4.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions