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 option to remove column width limit #21

Open
ljharb opened this issue Aug 29, 2013 · 2 comments
Open

Add option to remove column width limit #21

ljharb opened this issue Aug 29, 2013 · 2 comments

Comments

@ljharb
Copy link

ljharb commented Aug 29, 2013

I have a 15" screen with thousands of pixels of horizontal resolution - I'd love an option to disable column width truncation so I can see everything.

In addition, it'd be awesome if it could be truncated with instead of ... :-)

@rondevera
Copy link
Owner

Currently, you can use the --<property>-width options to widen columns beyond the default width. These also work in your ~/.twigconfig like this:

branch-width: 50
status-width: 10

I've done a few experiments to make columns auto-adjust, but it slows things down noticeably. The middle ground might be to continue defaulting to a fixed width so that Twig is fast out of the box, but add --<property>-width=auto support for opting into potentially slower auto-adjust modes.

As for the ellipsis, I actually tested in a very early version. It looked like an underscore in monospace fonts, so I switched to three dots.

@ljharb
Copy link
Author

ljharb commented Aug 31, 2013

An opt-in switch for a potentially slow feature, that can be optimized in the future, would work great for me!

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

2 participants