Skip to content

Commit

Permalink
Make all images 820px width; minor docstring correction
Browse files Browse the repository at this point in the history
  • Loading branch information
James Smith authored and James Smith committed Nov 23, 2024
1 parent d8d54e4 commit 8db7c31
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
Binary file modified docs/out1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/out2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/out3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/out4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/out5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/out6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/out7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/out8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/ansi_string/ansi_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,8 +726,8 @@ def to_str(self, __format_spec:str=None, optimize:bool=True, reset_start:bool=Fa
ex: " ->10:bold;red" to not not apply formatting to justification characters
optimize - optimization selects the shortest setting string based on the situation.
If this is False, then the RESET directive (0) will always used when settings change mid-string.
reset_start - when True, the output string will always start with the reset RESET directive (0)
reset_end - when True, the output string will end with the reset RESET directive (0) when at least 1 setting
reset_start - when True, the output string will always start with the RESET directive (0)
reset_end - when True, the output string will end with the RESET directive (0) when at least 1 setting
was applied by this AnsiString
'''
if not __format_spec and not self._fmts and not reset_start:
Expand Down

0 comments on commit 8db7c31

Please sign in to comment.