The repository has not been cloned yet. Run the following command first
to clone the repo, check out the target commit, and install dependencies:
bash
bash /setup_files/setup.sh
The code will then be available at /testbed.
You are working on the repository python-cmd2/cmd2 (instance: python-cmd2__cmd2-831).
The code is located in /testbed.
##823 utils.center_text() is not ansi aware
The utils.center_text() function will produce incorrect results if the text to be centered contains ANSI escape sequences. Advise modifying the method to calculate the padding using ansi.ansi_safe_wcswidth().