Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a crate for that. `nix` crate has `signalfd` support. I have recently used it to implement terminal resize in TUI text editor, all in one event loop (`mio` crate).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: