Description
Hello and thank you for your great module!
I'm encountering a strange problem when using the module in a native Windows Powershell window.
Here's the sample code I'm using:
import argparse
from rich_argparse import RichHelpFormatter
from rich import print as rprint
def main():
rprint("[italic blue]It's working[/]")
if __name__ == "__main__":
parser = argparse.ArgumentParser(formatter_class=RichHelpFormatter)
parser.parse_args()
main()
Here's the output in a native Windows Powershell window, the output from rich_argparse
is broken, however the output from rich
is ok.
The output from Windows Terminal shows that both rich_argparse
and rich
work.