From 1c6561144603c94a38c4bfcf69c8f3a0119ca435 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 1 Mar 2026 14:09:00 -0800 Subject: [PATCH] prettier should ignore various fuzz files --- .prettierignore | 4 ++++ test/fuzz-libghostty/README.md | 18 +++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.prettierignore b/.prettierignore index f131a5edc..f40567bfa 100644 --- a/.prettierignore +++ b/.prettierignore @@ -19,3 +19,7 @@ website/.next # shaders *.frag + +# fuzz corpus files +test/fuzz-libghostty/corpus/ +test/fuzz-libghostty/afl-out/ diff --git a/test/fuzz-libghostty/README.md b/test/fuzz-libghostty/README.md index dc87105ea..4628806cb 100644 --- a/test/fuzz-libghostty/README.md +++ b/test/fuzz-libghostty/README.md @@ -5,10 +5,10 @@ libghostty-vt (Zig module). ## Fuzz Targets -| Target | Binary | Description | -| ---------- | -------------- | ------------------------------------------------------- | -| `parser` | `fuzz-parser` | VT parser only (`Parser.next` byte-at-a-time) | -| `stream` | `fuzz-stream` | Full terminal stream (`nextSlice` + `next` via handler) | +| Target | Binary | Description | +| -------- | ------------- | ------------------------------------------------------- | +| `parser` | `fuzz-parser` | VT parser only (`Parser.next` byte-at-a-time) | +| `stream` | `fuzz-stream` | Full terminal stream (`nextSlice` + `next` via handler) | The stream target creates a small `Terminal` and exercises the readonly `Stream` handler, covering printing, CSI dispatch, OSC, DCS, SGR, cursor @@ -135,8 +135,8 @@ rename the output files to replace colons with underscores before committing: ### Corpus directories -| Directory | Contents | -| -------------------------- | ----------------------------------------------- | -| `corpus/parser-initial/` | Hand-written seed inputs for vt-parser | -| `corpus/parser-cmin/` | Output of `afl-cmin` (edge-deduplicated corpus) | -| `corpus/stream-initial/` | Hand-written seed inputs for vt-stream | +| Directory | Contents | +| ------------------------ | ----------------------------------------------- | +| `corpus/parser-initial/` | Hand-written seed inputs for vt-parser | +| `corpus/parser-cmin/` | Output of `afl-cmin` (edge-deduplicated corpus) | +| `corpus/stream-initial/` | Hand-written seed inputs for vt-stream |