Commit Graph

3 Commits

Author SHA1 Message Date
Isaiah Odhner
0d2840d5da Recode samples with new efficient ANSI export
- Will this make the files smaller when compressed? Doubtful.
- Will this commit make the repo larger? Yes, since the old is kept.
- But keeping the files in line with current encoding will allow me
to see changes in encoding, using --recode-samples.
- I'm excluding files not saved with the app:
  generated files (4x4_font_template.ans and gradient_test.ans)
  which will be recreated in their original form when regenerating,
  and a manually created empty file (0x0.ans), which tests the minumum
  document size of 1x1.
2023-05-09 23:08:43 -04:00
Isaiah Odhner
cf81a4236a Convert line endings to CRLF in sample ANSI files
I used:
    cd samples && sed -i 's/$/\r/' *

A git diff across branches suggests that this command gives the same results:
    src/textual_paint/paint.py --recode-samples

And --recode-samples is now idempotent, for the current set of sample files.
2023-05-03 16:09:31 -04:00
Isaiah Odhner
8c07d3fc12 Add sample drawing of a scroll
X marks the spot, and all that.
2023-04-29 21:17:50 -04:00