#terminal #tui #signals

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

#805 in Command-line interface

Download history 39/week @ 2023-10-31 36/week @ 2023-11-07 24/week @ 2023-11-14 32/week @ 2023-11-21 34/week @ 2023-11-28 12/week @ 2023-12-05 24/week @ 2023-12-12 29/week @ 2023-12-19 28/week @ 2023-12-26 20/week @ 2024-01-02 26/week @ 2024-01-09 29/week @ 2024-01-16 15/week @ 2024-01-23 25/week @ 2024-01-30 21/week @ 2024-02-06 48/week @ 2024-02-13

117 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

~6.5MB
~134K SLoC