summaryrefslogtreecommitdiffstats
path: root/src/recite.rs
diff options
context:
space:
mode:
authorRory Dudley2024-02-16 22:36:31 -0700
committerRory Dudley2024-02-16 22:36:31 -0700
commitc101a8c2abf0c25fc75e4101a83ae56bc2a9b789 (patch)
tree03bb263871842cde18221e258b006da77c3a89aa /src/recite.rs
parentf7b6c2dae63a1ada4fd097b5714d93494003ea98 (diff)
downloaddwarvish-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