wincent / terminus

🖥 Enhanced terminal integration for Vim
BSD 2-Clause "Simplified" License
463 stars 25 forks source link

Focus Reporting does not seem to be working consistently anymore #21

Closed alxyang closed 7 years ago

alxyang commented 7 years ago

Recently (maybe a few months ago?) I have observed that the focus reporting feature does not work nearly as well as it used to, in many cases it does not work at all when switching between tmux panes etc.

Here is my vim --version output https://gist.github.com/alxyang/fcf57388d27ca04f92390572ab219dff

tmux -V => 2.2

Let me know if there is any other information i can provide. Feel free to explore my devserver if you'd like ;)

wincent commented 7 years ago

You're probably seeing something that I noticed a while back and fixed on the next branch in https://github.com/wincent/terminus/commit/3647ce0bd0 — I should probably merge it into the master branch and cut a new release.

wincent commented 7 years ago

I merged next into master and cut the 1.2 release. Should hopefully fix the issue you've been seeing.

alxyang commented 7 years ago

thanks!

alxyang commented 7 years ago

in case anyone else comes across this, I also needed to set set -g focus-events on in my ~/.tmux.conf

wincent commented 7 years ago

We might want to add that to the docs, if it's not there already.