> Note that XTerm defines mode ?1004 as ["Send FocusIn/FocusOut 
> events"](https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-?-Pm-h:Ps-=-1-0-0-4.1F7C
> ). And if you follow the 
> [FocusIn/FocusOut](https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-FocusIn_FocusOut)
>  link, you'll see "it causes xterm to send CSI I when the terminal gains 
> focus, and CSI O when it loses focus."
> 
> So those codes are literally part of the definition for mode ?1004 -
> terminals don't have any other option if they're claiming to support
> that mode.

Terminals may follow what xterm is doing here, or they can decide
otherwise, for whatever reason.  There have been discussions in the past
between terminal emulator maintainers that ended up in doing something
else.  These discussions often put the personal opinion of a maintainer
above the interest of the users.  The lack of a recognized authority
also plays a role.  The disappointing result is that I have a lot of
trouble making Vim work properly with all terminals.  It will take time.

-- 
hundred-and-one symptoms of being an internet addict:
134. You consider bandwidth to be more important than carats.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230608191731.B2C5B1C0100%40moolenaar.net.

Raspunde prin e-mail lui