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

Fix tty truncation #399

Closed
wants to merge 2 commits into from
Closed

Conversation

mohkale
Copy link

@mohkale mohkale commented Dec 27, 2020

Closes #397

Please double check on both GUI and TTY before merge. It works for me but you can never be too sure 😄.

Turns out the window-seperator crashing was a TTY only issue. This patch
disables the fix when running on a graphical display.
@@ -926,6 +926,13 @@ then this function does nothing."
(add-hook 'after-setting-font-hook #'doom-modeline-refresh-font-width-cache)
(add-hook 'server-after-make-frame-hook #'doom-modeline-refresh-font-width-cache)

(add-hook 'window-configuration-change-hook
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looks like more than a workaround. The hooks will bring negative performance impacts.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was why I didn't send an initial PR. I'm fine with waiting until the issue is fixed in upstream emacs if you'd prefer?

@seagle0128 seagle0128 closed this Jun 28, 2022
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.

mode-line truncated in tty on window-split
2 participants