Skip to content
No description, website, or topics provided.
Rust
Branch: master
Clone or download
ryanisaacg Fix building without default features (#16)
* Fix building without default features

* cargo fmt
Latest commit 360589b Jan 16, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Bump version to alpha9 (#8) Jan 7, 2020
examples
src Fix building without default features (#16) Jan 16, 2020
.gitignore Create an initial version of a lifecycle module Sep 18, 2019
CHANGES.md Release version 0.1.0-alpha10 Jan 11, 2020
Cargo.toml Release version 0.1.0-alpha10 Jan 11, 2020
README.md

README.md

blinds

blinds covers up the details of your windowing for you, by providing an async API.

use blinds::{run, Event, EventStream, Key, Settings, Window};

fn main() {
    run(Settings::default(), app);
}

async fn app(_window: Window, mut events: EventStream) {
    loop {
        while let Some(ev) = events.next_event().await {
            println!("{:?}", ev);
        }
    }
}
You can’t perform that action at this time.