mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Merge pull request #35 from GuillaumeGomez/patch-1
Just because indentation
This commit is contained in:
commit
69e58a76db
@ -29,8 +29,8 @@ fn main() {
|
|||||||
|
|
||||||
// Creates a dialog with a single "Quit" button
|
// Creates a dialog with a single "Quit" button
|
||||||
siv.add_layer(Dialog::new(TextView::new("Hello Dialog!"))
|
siv.add_layer(Dialog::new(TextView::new("Hello Dialog!"))
|
||||||
.title("Cursive")
|
.title("Cursive")
|
||||||
.button("Quit", |s| s.quit()));
|
.button("Quit", |s| s.quit()));
|
||||||
|
|
||||||
// Starts the event loop.
|
// Starts the event loop.
|
||||||
siv.run();
|
siv.run();
|
||||||
|
Loading…
Reference in New Issue
Block a user