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

Disable border graphics? #28

Open
jritorto opened this issue Jun 21, 2012 · 7 comments
Open

Disable border graphics? #28

jritorto opened this issue Jun 21, 2012 · 7 comments

Comments

@jritorto
Copy link

Is there a way to have pt print out the tables without the (unicode) border graphic characters around the tables?

@orta
Copy link
Collaborator

orta commented Jun 21, 2012

At the minute we rely on hirb's methods for printing tables which comes with a bunch of useful freebies, one thing it doesn't seem to have is the ability to turn off the borders

@orta
Copy link
Collaborator

orta commented Aug 2, 2012

I've taken a second look at this and it looks like there are ways to do it using

Hirb::Helpers::UnicodeTable::CHARS[:bottom][:vertical][:inside] = '│'

to let us control the table graphics, what would you propose it do?

@jritorto
Copy link
Author

jritorto commented Aug 2, 2012

I'd hoped to just print the content and utterly skip the boxes. If I want
graphics I'll just run X. Doesn't Hirb have a "completely shut off boxes"
option?

Thx for thinking about this a second time :)
Jake

On Thursday, August 2, 2012, Orta wrote:

I've taken a second look at this and it looks like there are ways to do it
using

Hirb::Helpers::UnicodeTable::CHARS[:bottom][:vertical][:inside] = '│'

to let us control the table graphics, what would you propose it do?


Reply to this email directly or view it on GitHub:
#28 (comment)

@orta
Copy link
Collaborator

orta commented Aug 2, 2012

Hah, I'll just run X. I don't think it's an issue for example to replace it form '|' to '' ( and for the others ) which should effectively remove the table borders.

@jritorto
Copy link
Author

jritorto commented Aug 2, 2012

That'd be totally cool with me. But do you have others who want
boxes around their character cell user interface? I don't wanna rain
on their parade or anything..

On Thu, Aug 2, 2012 at 9:49 AM, Orta
[email protected]
wrote:

Hah, I'll just run X. I don't think it's an issue for example to replace it form '|' to '' ( and for the others ) which should effectively remove the table borders.


Reply to this email directly or view it on GitHub:
#28 (comment)

@orta
Copy link
Collaborator

orta commented Aug 2, 2012

I'd make it optional, something in the ~/.pt file

@jritorto
Copy link
Author

jritorto commented Aug 2, 2012

perfect.

On Thu, Aug 2, 2012 at 11:13 AM, Orta
[email protected]
wrote:

I'd make it optional, something in the ~/.pt file


Reply to this email directly or view it on GitHub:
#28 (comment)

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

No branches or pull requests

3 participants