diff options
author | nc <[email protected]> | 2020-07-20 23:30:32 +0100 |
---|---|---|
committer | nc <[email protected]> | 2020-07-20 23:30:32 +0100 |
commit | 66b2f0793f236dccd3269ae1c3cbfe2293f7fb3d (patch) | |
tree | 0e1a2604d9d395bda8d8eaae12353014b6adc836 /Cargo.toml | |
parent | 2a3be003015bac9c6a13549029b9fb4595e88384 (diff) |
Add RwLock around messages. Catch SIGINT and print that :q is the way to quit.
Note that this doesn't actually capture Ctrl-C. I'm not sure how it works
but termion somehow swollows Ctrl-C so and circumvents the signal handler...
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ typetag = "0.1.4" | |||
19 | directories = "3.0.1" | 19 | directories = "3.0.1" |
20 | clap = "2.33" | 20 | clap = "2.33" |
21 | notify = "4.0" | 21 | notify = "4.0" |
22 | signal-hook = "0.1.16" | ||
22 | 23 | ||
23 | [dependencies.cursive] | 24 | [dependencies.cursive] |
24 | version = "0.15" | 25 | version = "0.15" |