Re: [dev] [st] no focus events inside tmux

From: <>
Date: Wed, 30 Mar 2016 08:17:39 +0200

Hi again,

> Test case for bug:
> Open empty terminal
> st -e tmux
> Activate focusing
> printf "\e[?1004h"
> Catch one focus event
> <C-v>
> Move focus to another window
> Expected: printed ^[[O in place of pending ^
> Actual result: nothing changed

I mistook in my previos mail. My session in tmux is:

          $ printf "\e[?1004h"

and in st:

          $ st -e tmux
          erresc: unknown private set/reset mode 1005
As you can see tmux is printing \e[?1005 to st, and
the question is, why?. We don't have this sequence
in any of the capabilities of our terminfo entry,
so I suspect that tmux has it hardcoded. Look in
the code of tmux to see why \e[?1005h is printed.
In fact, we have 1000,1002,1003,1004 and 1006.
I don't know what 1005 does, so this information
may be interesting to.

Received on Wed Mar 30 2016 - 08:17:39 CEST

This archive was generated by hypermail 2.3.0 : Wed Mar 30 2016 - 08:24:13 CEST