Thank you for posting in Microsoft Q&A.
According to your description, your issue seems more related withWindows Terminal, it is recommended to post in the following link for more help:
https://github.com/microsoft/terminal
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
Thank you for your understanding.