When the terminal width isn't even, there is a space between the right border of the output box and the end of the terminal, which causes it to not be aligned to the right border of the prompt box.
Add a space in between the input and output boxes to make the border of the output box be aligned to the prompt box.
Thanks for your contribution @ktprograms! Works well for me. That had been annoying me for some time but hadn't done anything about it yet aha 😄 . Cheers.
When the terminal width isn't even, there is a space between the right border of the output box and the end of the terminal, which causes it to not be aligned to the right border of the prompt box.
Add a space in between the input and output boxes to make the border of the output box be aligned to the prompt box.