wincent / terminus

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

Focus reporting not working in bare iTerm nor tmux #28

Closed rlue closed 1 year ago

rlue commented 7 years ago

Focus reporting isn't working on my setup, for some reason. Terminus' other features (dynamic cursor & ‘bracketed paste’ mode) are working just fine. I'm on:

I have the following file set up to test it out.

" ~/.vim/plugin/foo.vim
augroup foo
  autocmd!
  autocmd FocusGained * echo 'hello!'
  autocmd FocusLost * echo 'goodbye!'
augroup END

Being located in the /plugin directory, it's loaded automatically on launch. It produces the expected output in GUI vim (MacVim), but nothing in the terminal. I've tried in both the bare terminal (where I even tried setting g:TerminusAssumeITerm) and tmux (where I made sure to set -g focus-events on, per #21).

Any insight would be greatly appreciated.

rcarraretto commented 7 years ago

@rlue fwiw, I was having a similar issue and I solved it via https://github.com/wincent/terminus/issues/23#issuecomment-334972338. not sure if it helps you.

rlue commented 7 years ago

Unfortunately, it looks like we're dealing with separate issues. Thanks for the suggestion, though!

wincent commented 1 year ago

Sorry for never replying to this. I'm going to close it due to inactivity. 😔