You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the long description wrapping code (around here), the line is wrapped to the width of the terminal before the user's provided \x05 escapes are translated to newlines. This means that if you have a really long block of \x05 delimited text, it will get falsely wrapped somewhere in the middle. E.g., the following long description:
Data file types:
\x05-
\x05Compressed file types:
\x05- gzip (.gz)
\x05- bzip2 (.bz2)
\x05- xz (.xz)
\x05Archive file types:
\x05- tar (.tar, .tar.gz, .tar.bz2, .tar.xz)
\x05- zip (.zip)
will be output to the terminal something like this:
Data file types:
-
Compressed file types:
- gzip (.gz)
- bzip2 (.bz2)
- xz (.xz)
Archive file
types:
- tar (.tar, .tar.gz, .tar.bz2, .tar.xz)
- zip (.zip)
Note the extra wrap between "Archive file" and "types:" -- that's (I presume) 100 characters into the string, the terminal width. If the user's \x05s were converted to newlines before the terminal-width wrapping, this would look right.
The text was updated successfully, but these errors were encountered:
In the long description wrapping code (around here), the line is wrapped to the width of the terminal before the user's provided
\x05
escapes are translated to newlines. This means that if you have a really long block of\x05
delimited text, it will get falsely wrapped somewhere in the middle. E.g., the following long description:will be output to the terminal something like this:
Note the extra wrap between "Archive file" and "types:" -- that's (I presume) 100 characters into the string, the terminal width. If the user's
\x05
s were converted to newlines before the terminal-width wrapping, this would look right.The text was updated successfully, but these errors were encountered: