diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-10 18:25:23 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:09 -0800 |
| commit | 7837d975dcaa17ff22f536607c4ff6db7b697b04 (patch) | |
| tree | 9eb40067acb66d67636395f32ffb805938e64841 /lib/std/Io/File | |
| parent | 95b0399d1bf7e12aefeba79652141d202f805fe4 (diff) | |
| download | zig-7837d975dcaa17ff22f536607c4ff6db7b697b04.tar.gz zig-7837d975dcaa17ff22f536607c4ff6db7b697b04.zip | |
std: save terminal escape stripping for later
Diffstat (limited to 'lib/std/Io/File')
| -rw-r--r-- | lib/std/Io/File/Writer.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Io/File/Writer.zig b/lib/std/Io/File/Writer.zig index 1ba4e375b6..8f9f573a4b 100644 --- a/lib/std/Io/File/Writer.zig +++ b/lib/std/Io/File/Writer.zig @@ -300,12 +300,12 @@ fn drainEscaping(w: *Writer, data: []const []const u8, splat: usize) Io.Writer.E const header = w.interface.buffered(); if (findTerminalEscape(header)) |i| { _ = i; - @panic("TODO strip terminal escape sequence"); + // TODO strip terminal escape sequences here } for (data) |d| { if (findTerminalEscape(d)) |i| { _ = i; - @panic("TODO strip terminal escape sequence"); + // TODO strip terminal escape sequences here } } const n = io.vtable.fileWriteStreaming(io.userdata, w.file, header, data, splat) catch |err| { |
