pt icon indicating copy to clipboard operation
pt copied to clipboard

Disable border graphics?

Open jritorto opened this issue 13 years ago • 7 comments

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

jritorto avatar Jun 21 '12 20:06 jritorto

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 avatar Jun 21 '12 20:06 orta

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?

orta avatar Aug 02 '12 11:08 orta

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: https://github.com/raul/pt/issues/28#issuecomment-7452551

jritorto avatar Aug 02 '12 16:08 jritorto

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.

orta avatar Aug 02 '12 16:08 orta

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: https://github.com/raul/pt/issues/28#issuecomment-7461127

jritorto avatar Aug 02 '12 18:08 jritorto

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

orta avatar Aug 02 '12 18:08 orta

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: https://github.com/raul/pt/issues/28#issuecomment-7463503

jritorto avatar Aug 02 '12 18:08 jritorto