Hello, lists I wrote a patch for adding support for focus reporting mode (Xterm / private mode 1004) which works on xterm compatible terminals.
When this feature is enabled by the private mode sequence "\033[?1004h", Some xterm compatible terminals comes to send <Esc>[I (focus in event) and <Esc>[O (focus out event). I think they should be corresponded with FocusGained/FocusLost event and should be handled from VimScript context. According to vim documents, FocusGained/FocusLost event is supported by "Only for the GUI version and a few console versions". These days, the focus reporting feature is supported by some unix terminals such as Xterm, mlterm, TeraTerm, MinTTY, iTerm2, tty.js, RLogin,... and so on. Recently tmux 1.8 also supports this. Please try it on them if you are interested. Thanks, Hayaki --- Hayaki Saito [email protected] -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
focus-mode-reporting.diff
Description: Binary data
