diff --git a/commands/mem.c b/commands/mem.c index a5eea36..88af55c 100644 --- a/commands/mem.c +++ b/commands/mem.c @@ -483,6 +483,9 @@ } count -= r; + + if (ctrlc()) + goto out; } if (count) {