amethyst / amethyst/bracket-lib

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

Offen
#352 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
1.7k
Forks
126
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```
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)
}
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.