amethyst / amethyst/bracket-lib

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

未关闭
#352 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
1.7k
派生
126
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。