ReplOptions.breakEvalOnSigint - Node documentation
property ReplOptions.breakEvalOnSigint

Usage in Deno

import { type ReplOptions } from "node:repl";

Stop evaluating the current piece of code when SIGINT is received, i.e. Ctrl+C is pressed. This cannot be used together with a custom eval function. Default: false.

Type

boolean | undefined