grid: decide what XTGETTCAP TN reports under the native identity #388

Closed
opened 2026-09-25 00:48:15 +09:00 by natsukium · 1 comment
Owner

XTGETTCAP TN/name answers xterm-256color (crates/felis-grid/src/xtgettcap.rs ~50-58), while docs/reference/terminal-identity.md says felis identifies natively on every identity surface (TERM=xterm-felis, XTVERSION felis …).

Decide whether:

  • TN should report the stamped TERM (xterm-felis, or the FELIS_TERM hatch value), or
  • xterm-256color is deliberate (esctest expectations, producers that key off TN). In that case record the exception in docs/explanation/architecture/terminal-identity.md and the reference twin.

The protocol docs now list the answered subset exactly (Co/colors, TN/name, co/cols, li/lines).

XTGETTCAP `TN`/`name` answers `xterm-256color` (`crates/felis-grid/src/xtgettcap.rs` ~50-58), while `docs/reference/terminal-identity.md` says felis identifies natively on every identity surface (`TERM=xterm-felis`, XTVERSION `felis …`). Decide whether: - `TN` should report the stamped TERM (`xterm-felis`, or the `FELIS_TERM` hatch value), or - `xterm-256color` is deliberate (esctest expectations, producers that key off `TN`). In that case record the exception in `docs/explanation/architecture/terminal-identity.md` and the reference twin. The protocol docs now list the answered subset exactly (`Co`/`colors`, `TN`/`name`, `co`/`cols`, `li`/`lines`).
Author
Owner

Decision: TN/name reports the stamped TERM (xterm-felis, or the FELIS_TERM hatch value), consistent with felis identifying natively on every identity surface; kitty's TN likewise answers its own TERM. Update the protocol reference and check esctest expectations that key off TN.

Decision: `TN`/`name` reports the stamped TERM (`xterm-felis`, or the `FELIS_TERM` hatch value), consistent with felis identifying natively on every identity surface; kitty's `TN` likewise answers its own TERM. Update the protocol reference and check esctest expectations that key off `TN`.
Commenting is not possible because the repository is archived.
No description provided.