>>106455008
Unfortunately, I discovered a weird side-effect. This happens with both tilix and wezterm. After setting up those bindings,
- if the window gains focus, an "I" is inserted;
- if the window loses focus, an "O" is inserted.

I have no idea what's going on. With that said, the bindings do still work.