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

Add SetRowWidth function #119

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add SetRowWidth function #119

wants to merge 6 commits into from

Conversation

0x9ef
Copy link

@0x9ef 0x9ef commented Jan 23, 2019

SetRowWidth sets width of row, if width more then maximal (64) or less then minimal (12) -> sets default row width (32)

@mattn
Copy link
Collaborator

mattn commented Mar 15, 2019

What basis of 8 or 64?

@olekukonko
Copy link
Owner

@0x9ef can you explain more ?

@0x9ef
Copy link
Author

0x9ef commented Jun 7, 2019

@olekukonko simply function for setting preferred row width without modifying global constants. In many situation, based MAX_ROW_WIDTH = 30 too small, i think, it would be easier to call SetRowWidth(sz) without modifying global constants in table.go

@olekukonko
Copy link
Owner

@0x9ef thanks for the explanation, can you add some test and example.
@mattn what do you think ?

@mchernyakov
Copy link

@mattn @olekukonko do you have any updates on this feature? Could be very good to have it.

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

Successfully merging this pull request may close these issues.

4 participants