From 08efd46aeb0370414b6746829aec773c409a8c18 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Fri, 21 Jul 2023 16:42:03 -0400 Subject: [PATCH] Hide --recode-samples testing info on readme --- README.md | 7 +++++++ cspell.json | 1 + 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 54d2104..859da11 100644 --- a/README.md +++ b/README.md @@ -331,6 +331,11 @@ This also makes it run slower. Often it's useful to exclude events with `textual console -x EVENT`. +
+Testing file save/load roundtrip + +> 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. +
+ ### Troubleshooting > `Unable to import 'app' from module 'src.textual_paint.paint'` diff --git a/cspell.json b/cspell.json index 22c62a5..f9b04f4 100644 --- a/cspell.json +++ b/cspell.json @@ -65,6 +65,7 @@ "humbnail", "icns", "Inconsolata", + "Inkscape", "Intelli", "linewrap", "𝗟𝙇",