#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

#747 in Command-line interface

Download history 11/week @ 2024-02-19 18/week @ 2024-02-26 16/week @ 2024-03-04 23/week @ 2024-03-11

68 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