We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56b10c3 commit 98e5e90Copy full SHA for 98e5e90
cmd2/cmd2.py
@@ -1280,9 +1280,9 @@ def print_to(
1280
**Why use this method instead of console.print()?**
1281
1282
This method calls ``cmd2.rich_utils.prepare_objects_for_rendering()`` on the objects
1283
- being printed. This ensures that strings containing ANSI style sequences are correctly
1284
- converted to Rich Text objects, preserving their style and calculating the correct
1285
- display width. This is particularly important when capturing output from a console.
+ being printed. This ensures that strings containing ANSI style sequences are converted
+ to Rich Text objects, so that Rich can correctly calculate their display width when
+ printing.
1286
1287
Example:
1288
```py
0 commit comments