Hi all,

Recently, I found odd behavior of focus reporting mode (private mode 1004) 
feature in tmux 1.8 (current HEAD of SF git repo).

example:

  $ echo -ne '\033[?1004l\033[?1004h' && cat
  ^[[I   <-- Focus in event

Unnecessary focus-in event "CSI I" is fired when we just set private mode 1004.
I guess the following line causes this problem;

  input.c:1336
  wp->flags &= ~PANE_FOCUSED; /* force update if needed */

What is the aim of this line?
It works fine for me if I removed this line.

Best regards, 
Hayaki Saito


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to