Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error sending request: Resource temporarily unavailable (exit code 11) #352

Open
vichvich4444 opened this issue Oct 15, 2023 · 1 comment

Comments

@vichvich4444
Copy link

Error sending request: Resource temporarily unavailable

This is probably not a problem with bracket-lib
When I run this code, the window appears correctly, but crashes when I hover cursor over the window. Not over the window title bar, but over the window content
I run Debian 12, GNOME on Wayland

use bracket_lib::prelude::*;
use bracket_lib::terminal::GameState;

struct State {}
impl GameState for State {
    fn tick(&mut self, ctx : &mut BTerm) {
        ctx.cls();
        ctx.print(1, 1, "Hello Rust World !");
    }
}

fn main() -> BError {
    let context = BTermBuilder::simple80x50()
        .with_title("Roguelike Tutorial")
        .build()?;
    let gs = State{ };
    main_loop(context, gs)
}
@lolbulhoes
Copy link

Error sending request: Resource temporarily unavailable

This is probably not a problem with bracket-lib When I run this code, the window appears correctly, but crashes when I hover cursor over the window. Not over the window title bar, but over the window content I run Debian 12, GNOME on Wayland

use bracket_lib::prelude::*;
use bracket_lib::terminal::GameState;

struct State {}
impl GameState for State {
    fn tick(&mut self, ctx : &mut BTerm) {
        ctx.cls();
        ctx.print(1, 1, "Hello Rust World !");
    }
}

fn main() -> BError {
    let context = BTermBuilder::simple80x50()
        .with_title("Roguelike Tutorial")
        .build()?;
    let gs = State{ };
    main_loop(context, gs)
}

This problem has already been reported in a previous #318. In this link you will find some solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants