[Bug 282647] termcap entries for tmux missing title setting capabilities (also for xterm?)
Date: Fri, 22 Nov 2024 22:09:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282647 --- Comment #6 from Duane <parakleta@darkreality.org> --- (In reply to Jan Beich from comment #4) You are looking at the codes it transmits, not the codes that it receives. This is an example of application having default xterm behaviour if the xterm termcap/terminfo is missing or broken. The correct section of code is https://github.com/tmux/tmux/blob/ceaf9b7452983423b679b25d905ce6750a0e299a/input.c#L2401-L2434 Here it accepts either 0 or 2 to change the title, but cross-referencing with https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Operating-System-Commands shows that the difference between them is that 0 can also change the icon name as well as the title. The absence of any handling for OSC 1 (just changing the icon name) suggests that the correct thing to declare to set just the title would be OSC 2. Using OSC 0 in the capability may imply that the icon name is settable. -- You are receiving this mail because: You are the assignee for the bug.