Open giggio opened 1 year ago
The feature is now stabilized, thanks to your configuration!
@Daydreamer-riri I tried removing my configuration, and only parts of the terminal integration work, not all of it. Specifically I noticed that when a command errors (exit code != 0, for example) we are not getting the proper signaling. So, this still needs work.
Feature Request
Is your feature request related to a problem? Please describe.
Enable Terminal Integration when running under Windows Terminal. See: https://learn.microsoft.com/en-us/windows/terminal/tutorials/shell-integration
Describe the solution you'd like
Write to the prompt the expected characters to get terminal integration to work.
Describe alternatives you've considered
This is not strictly necessary, I have made it work with StarShip directly on my PoSh profile:
https://github.com/giggio/poshfiles/blob/e1b3f097fd77fd32652587691e3121cdc43297c6/Profile/Prompt.ps1#LL33C7-L33C7
Still, would be a nice addition.
Right now this is a preview feature, so it could be a good idea to wait until it stabilizes.