Commit 4b6c079
committed
Account for padding when wrapping lines
You can check for one-off errors with the following command:
$ alias wash-colors="sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'"
$ ./4cli | head -n 3000 | wash-colors | grep ".\{81,\}"
It should only show lines with a very long word (e.g. links), and text
that is not printed by 'print_post_contents' (e.g. thread titles).1 parent c47d14e commit 4b6c079
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| |||
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
184 | | - | |
185 | | - | |
| 188 | + | |
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
| |||
0 commit comments