Default prompt ($PS1) misaligned when a Python virtual environment is active
The default prompt $PS1 setting from https://nest.parrotsec.org/packages/debian/base-files/-/blob/master/share/dot.bashrc uses line art. However, the styling breaks when a Python virtual environment is activated. Python adds the name of the virtual environment to the prompt, but it bumps the first line and its line art over to the right such that it no longer aligns with the second line.
┌─[htb-abc@htb-ci3uafctuf]─[~]
└──╼ $python3 -m venv test_env
┌─[htb-abc@htb-ci3uafctuf]─[~]
└──╼ $source test_env/bin/activate
(test_env) ┌─[htb-abc@htb-ci3uafctuf]─[~]
└──╼ $
The Parrot OS prompt is stylish, but it would be an improvement if it were also compatible with Python virtual environments.