Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2018"
[dependencies]
getopts = "0.2.21"
regex = "1.3.9"
signal-hook = "0.1.10"
signal-hook = "0.3.10"
terminal_size = "0.1.8"
unicode-width = "0.1.1"
unicode-segmentation = "1.2.0"
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,11 @@ You can install `dutree` from the official Fedora repositories:
```sh
$ sudo dnf -y install dutree
```

## Guix

You can install `dutree` in Guix:

```sh
$ guix install dutree
```
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ use std::process;
fn main() {

// handle SIGPIPE
let _signal = unsafe { signal_hook::register(signal_hook::SIGPIPE, || process::exit(0)) };
let _signal = unsafe { signal_hook::low_level::register(signal_hook::consts::signal::SIGPIPE, || process::exit(0)) };

// Parse arguments
let cfg = match Config::new() {
Expand Down