sendInterrupt property

bool sendInterrupt
final

Whether to send InterruptMsg on SIGINT instead of a Ctrl+C KeyMsg.

When true (default), pressing Ctrl+C is delivered as an InterruptMsg. This lets the model or widget tree handle terminal interrupts separately from ordinary keyboard shortcuts.

When false, SIGINT is converted to a Ctrl+C KeyMsg for backward compatibility. Call withoutInterruptMsg to opt into that behavior.

Implementation

final bool sendInterrupt;