#signals #terminal #tui #signal

unsegen_signals

Use unsegen's input module to raise signals on the usual key combinations

5 releases (3 breaking)

Uses old Rust 2015

0.3.0 Jun 3, 2021
0.2.0 Jul 20, 2019
0.1.1 Mar 23, 2019
0.1.0 Mar 23, 2019
0.0.1 Feb 24, 2019

#752 in Command-line interface

Download history 10/week @ 2024-08-31 1/week @ 2024-09-07 7/week @ 2024-09-14 29/week @ 2024-09-21 25/week @ 2024-09-28 8/week @ 2024-10-05 1/week @ 2024-10-12 1/week @ 2024-10-26 2/week @ 2024-11-02 7/week @ 2024-11-09 2/week @ 2024-11-16 4/week @ 2024-11-23 12/week @ 2024-11-30 36/week @ 2024-12-07 12/week @ 2024-12-14

64 downloads per month
Used in ugdb

MIT license

6KB
66 lines

unsegen_signals

unsegen_signals uses unsegen's input module to raise signals on the usual key combinations (e.g., SIGINT on CTRL-C).

Getting Started

unsegen_signals is available on crates.io. You can install it by adding this line to your Cargo.toml:

unsegen_signals = "0.3.0"

Examples

There is an example at the root of the crate documentation which should be sufficient to get you going.

For a fully fledged application using unsegen_signals, you can have a look at ugdb, which was developed alongside unsegen and the primary motivation for it.

Licensing

unsegen_signals is released under the MIT license.

Dependencies

~7.5MB
~154K SLoC