mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Update readme
This commit is contained in:
parent
a2b4273589
commit
488443081d
@ -21,7 +21,7 @@ fn main() {
|
|||||||
|
|
||||||
// Create a popup window with a "Ok" button that quits the application
|
// Create a popup window with a "Ok" button that quits the application
|
||||||
siv.add_layer(Dialog::new(TextView::new("Hello world!"))
|
siv.add_layer(Dialog::new(TextView::new("Hello world!"))
|
||||||
.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