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

Auto truncate status bar titles #214

Closed
spencerwooo opened this issue Aug 16, 2019 · 3 comments
Closed

Auto truncate status bar titles #214

spencerwooo opened this issue Aug 16, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@spencerwooo
Copy link

image

As you can see, sometimes the status bar text is too long when displaying web pages with long titles. Take powerline/powerline for example. An option to truncate the title automatically would be nice. 👍

@koekeishiya koekeishiya added the enhancement New feature or request label Aug 17, 2019
@awave1
Copy link

awave1 commented Aug 18, 2019

should the title truncate only if it overlaps with left or right parts of the bar?

@tsujp
Copy link
Contributor

tsujp commented Sep 10, 2019

Perhaps a setting such that when x% of the bar's horizontal width is taken up the title is truncated with ellipses .... Will need some constant width set for the ellipses since they will technically add length also.

I might take a shot at this later.

@koekeishiya koekeishiya added the addressed on master; not released Fixed upstream, but not yet released label Nov 9, 2019
@koekeishiya
Copy link
Owner

Fixed on master, but couldn't be bothered with the additional complexity to add an ellipsis at the end.

@koekeishiya koekeishiya removed the addressed on master; not released Fixed upstream, but not yet released label Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants