-
Notifications
You must be signed in to change notification settings - Fork 158
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
If output written to ansi-term, then activity of modeline behaves strange #355
Comments
I can reproduce it, but no idea how to fix it. |
Update:
|
Thanks for looking into this issue! For me, it still happens with the doom-one theme. Exactly the same issue, just with different colors (the weird half active/half inactive modeline is harder to see, but it's there). The way I configured it: I appended the code snippet which is after the text "Here is a example configuration for But I can confirm, the issue does not happen with |
Unfortunately I cannot switch to I've analyzed this issue a little bit, and it seems that ansi-term changes selected window temporarily, when output arrives (it calls I'm not sure why the issue doesn't happen with the default mode line. |
Because default mode line doesn't refresh according to the active/inactive windows. It updates regularly, but |
I found that if I modify |
Thanks for the update! You can make a workaround for now. I still prefer |
Yes, |
I don't know your case exactly, but I think you should try |
Thanks for the suggestion, I use this for copying. The actual problem is not about copying, but how long lines end up in the buffer. Long lines are just broken into pieces, and the information that these pieces are actually from a single line is lost. So long lines end up as multiple, separate lines in the buffer. There is a solution for this, setting |
Update: as it turned out, copying does work correctly. There was a recent PR for this feature: akermu/emacs-libvterm#274. Thanks for suggesting |
Describe
When one window has an ansi-term, which constantly outputs some text, and another window has the focus, then doom-modeline behaves strange: the mode line of the focused window loses activity, and part of ansi-term's mode line becomes active.
Steps and Expected
Use this init.el:
Here are the steps:
split-window-vertically
ansi-term
in one window, and enter this command into the shell:while true ; do echo Ize ; sleep 2 ; done
Here's a screenshot of the problem (the cursor is in the bottom window. Look at the upper mode line, it's weird, and the bottom mode line, which supposed to be active, but it is colored inactive):
Note, that this bug doesn't happen with the default mode line.
Environment:
The text was updated successfully, but these errors were encountered: