amethyst / amethyst/bracket-lib

How do I resize a window with the mouse?

Open
#375 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.7k
Forks
126
PR merge metrics
No merged PRs in 30d

Description

```
let context = RltkBuilder::simple(80, 50)?
.with_title("Feedback")
.with_vsync(false)
.with_automatic_console_resize(true)
.build()?;
```

This is the code used to create the window. I followed the example I found [here](https://github.com/amethyst/bracket-lib/blob/master/bracket-terminal/examples/bench_scalable.rs). However, I am not able to click and drag the corners of the window in order to resize it.

Also, using `with_fullscreen(true)` makes the window start in fullscreen but once I exit fullscreen, I can't re-enter it. I can't find any information about resizing the window in the bracket-lib book [link](https://bfnightly.bracketproductions.com/chapter_0.html), this is the link I'm providing because I'm not sure if that is the bracket-lib book.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.