Skip to content

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

Open
@vichvich4444

Description

@vichvich4444
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)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions