Hide --recode-samples testing info on readme

This commit is contained in:
Isaiah Odhner 2023-07-21 16:42:03 -04:00
parent 9f0ea03114
commit 08efd46aeb
2 changed files with 8 additions and 0 deletions

View File

@ -331,6 +331,11 @@ This also makes it run slower.
Often it's useful to exclude events with `textual console -x EVENT`.
<details>
<summary>Testing file save/load roundtrip</summary>
> There are at this point lots of files that will change if you run this, so don't worry about it. Some are generated files, so they naturally change somewhat. The `0x0.ans` file saves as 1x1, due to the minimum size. `pathological_character_grid.svg` was free-handed with Inkscape, so naturally changes somewhat when re-saving. There may be actual problems, but they're hard to spot in the noise.
To test file encoding, run `textual run --dev "src.textual_paint.paint --recode-samples"`.
If there are differences in the ANSI files, you can set up a special diff like this:
@ -340,6 +345,8 @@ git config --local "diff.cat-show-all.textconv" "cat --show-all"
but you should check that `cat --show-all samples/2x2.ans` works on your system first.
Also, note that it might not work with your Git GUI of choice; you may need to use the command line.
</details>
### Troubleshooting
> `Unable to import 'app' from module 'src.textual_paint.paint'`

View File

@ -65,6 +65,7 @@
"humbnail",
"icns",
"Inconsolata",
"Inkscape",
"Intelli",
"linewrap",
"𝗟𝙇",