diff options
author | Rory Dudley | 2024-02-16 22:36:31 -0700 |
---|---|---|
committer | Rory Dudley | 2024-02-16 22:36:31 -0700 |
commit | c101a8c2abf0c25fc75e4101a83ae56bc2a9b789 (patch) | |
tree | 03bb263871842cde18221e258b006da77c3a89aa /src/recite.rs | |
parent | f7b6c2dae63a1ada4fd097b5714d93494003ea98 (diff) | |
download | dwarvish-c101a8c2abf0c25fc75e4101a83ae56bc2a9b789.tar.gz |
Capture SIGINT
Added logic to capture the interrupt signal. Using a rust crate called
'ctrlc' to do the heavy lifting. Program will simply reprint the prompt
on a new line if the interrup signal is detected.
Diffstat (limited to 'src/recite.rs')
0 files changed, 0 insertions, 0 deletions