raul/pt

Disable border graphics?

Opened this issue · 7 comments

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

orta commented

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 commented

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?

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 commented

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.

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
reply@reply.github.com
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 commented

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

perfect.

On Thu, Aug 2, 2012 at 11:13 AM, Orta
reply@reply.github.com
wrote:

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


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