Title event handler attached to control on tab discards title variable #5439

Open
opened 2026-01-31 00:13:24 +00:00 by claunia · 0 comments
Owner

Originally created by @miniksa on GitHub (Dec 6, 2019).

Originally assigned to: @zadjii-msft on GitHub.

9145903e11/src/cascadia/TerminalApp/Tab.cpp (L320-L328)

I'm trying to make the Telnet and Azure connection types set a title when they start up on the tab.

They're calling the ESC]0;

Originally created by @miniksa on GitHub (Dec 6, 2019). Originally assigned to: @zadjii-msft on GitHub. https://github.com/microsoft/terminal/blob/9145903e118bfa3b48749694689aec3a191bc4ac/src/cascadia/TerminalApp/Tab.cpp#L320-L328 I'm trying to make the Telnet and Azure connection types set a title when they start up on the tab. They're calling the ESC]0;<title>BEL sequence on the output handlers to make it happen. Turns out that title makes it all the way to here and then is completely discarded in favor of whatever's already on the title.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5439