Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Handle the case where dashboard lines longer than win width #101

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

Merged
merged 1 commit into from
Feb 27, 2019

Conversation

jkdufair
Copy link
Contributor

Centering algorithm wasn't considering the fact that the longest line in the dashboard could be longer than the window width. Which isn't normally a problem. But it was trying to insert a negative amount of spaces LOL.

This fixes #98

@JesusMtnez
Copy link
Contributor

@jkdufair Thank you! I just realized that was happening this morning. 👍

@JesusMtnez JesusMtnez merged commit 3099e77 into emacs-dashboard:master Feb 27, 2019
@jkdufair jkdufair deleted the fix/max-line-length branch February 27, 2019 17:38
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.

Setting "dashboard-center-content" breaks emacsclient
2 participants