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

Rotated table missing line separator #12

Closed
epinault opened this issue Feb 17, 2017 · 3 comments
Closed

Rotated table missing line separator #12

epinault opened this issue Feb 17, 2017 · 3 comments
Labels

Comments

@epinault
Copy link

When resize is set to false and the table rotate, how do I get a line between each row ?

I am trying this

        table.render do |renderer|
          renderer.border.separator = :each_row
        end

        puts table.render(:unicode)

but not working :(

@epinault
Copy link
Author

epinault commented Feb 17, 2017

Doc might be incorrect

this works

  table.render do |renderer|
      renderer.border :separator => :each_row
    end

Although for vertical, I would expect it to be for set of line for each record rather than each row

@piotrmurach
Copy link
Owner

Thanks for using the library. This looks like a bug to me. There are already open issues related to separating records, it may be worth reviewing them. I'm currently too busy to get this sorted. I'm planning to work on tty-table in near future. I'm always happy to review any PRs and merge.

@epinault
Copy link
Author

epinault commented Feb 4, 2023

closing as I don t use Ruby anymore. Maybe someone else will figure this out

@epinault epinault closed this as completed Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants