Selected tab title not used for Export Text file name #18406

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

Originally created by @elsaco on GitHub (Sep 8, 2022).

Windows Terminal version

main 1ef4a4276

Windows build number

10.0.19044.0

Other Software

No response

Steps to reproduce

  • build WT with Use the tab's active title for "Export Text" patch applied, commit 2c341c8de
  • rename some tabs
  • export text from a tab other than active one

Foo was the active tab and Bar was used for export:
wt_export_text

Expected Behavior

  • tab's title used for filename

Actual Behavior

  • the active's tab title is being used instead
Originally created by @elsaco on GitHub (Sep 8, 2022). ### Windows Terminal version main 1ef4a4276 ### Windows build number 10.0.19044.0 ### Other Software _No response_ ### Steps to reproduce - build WT with `Use the tab's active title for "Export Text"` patch applied, commit 2c341c8de - rename some tabs - export text from a tab other than active one `Foo` was the active tab and `Bar` was used for export: ![wt_export_text](https://user-images.githubusercontent.com/3933920/189212775-956220d7-7607-43b3-bd62-a78d51fae0ea.PNG) ### Expected Behavior - tab's title used for filename ### Actual Behavior - the active's tab title is being used instead
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18406