jeaye / ncurses-rs

A low-level ncurses wrapper for Rust
Other
685 stars 99 forks source link

change NCURSES_BITS() to const fn #178

Closed kamiyaa closed 5 years ago

kamiyaa commented 5 years ago

including all functions that utilize this and nothing else. This allows developers to create constants using these functions as this is possible in normal ncurses

jeaye commented 5 years ago

Thank you! I'm all good with this requiring a newer version. The API is quite stable, so folks can stay on the older version until they're ready to upgrade Rust in order to use this.