]> git.ipfire.org Git - thirdparty/zstd.git/commit
cli: add Ctrl-C support, requested by @mike155 in #854
authorYann Collet <cyan@fb.com>
Sun, 1 Oct 2017 19:10:26 +0000 (12:10 -0700)
committerYann Collet <cyan@fb.com>
Sun, 1 Oct 2017 19:10:26 +0000 (12:10 -0700)
commit00fc1ba8ddcfd9a0c1b9b32bf6da3978901c723e
tree75de843b0b22c3098f444f92041e0dda053c581d
parentdc404119e5377ce18e49bedeeab3f0ff8b815d87
cli: add Ctrl-C support, requested by @mike155 in #854

Now, pressing Ctrl-C during compression or decompression
will erase operation artefact (unfinished destination file)
before leaving execution.
programs/fileio.c
programs/zstdcli.c