Claude Code now queries the terminal emulator for its identity using the XTVERSION escape sequence. This can be used to tailor behavior to specific terminals. If the terminal ignores the query, it logs "XTVERSION: no reply".
Evidence
Terminal identification (search for "XTVERSION")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.