Forked from https://github.com/crossterm-rs/crossterm