Make sure that key pressed are handled
This commit is contained in:
parent
c8cf358a11
commit
ab4e9bb30d
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn model(app: &App) -> Model {
|
fn model(app: &App) -> Model {
|
||||||
app.set_loop_mode(LoopMode::NTimes { number_of_updates: 1 });
|
app.set_loop_mode(LoopMode::Wait);
|
||||||
|
|
||||||
let _window = app
|
let _window = app
|
||||||
.new_window()
|
.new_window()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue