mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Update Readme with image
This commit is contained in:
parent
3518fdf390
commit
b3be2286dd
@ -21,6 +21,7 @@ fn main() {
|
||||
|
||||
// Create a popup window with a "Ok" button that quits the application
|
||||
siv.add_layer(Dialog::new(TextView::new("Hello world!"))
|
||||
.title("Cursive")
|
||||
.button("Quit", |s| s.quit()));
|
||||
|
||||
// Starts the event loop.
|
||||
@ -28,6 +29,11 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
![Cursive dialog example](https://raw.githubusercontent.com/Gyscos/Cursive/master/doc/cursive_example.png)
|
||||
|
||||
_(Colors may depend on your terminal configuration)_
|
||||
|
||||
|
||||
The goal is to be flexible enough, so that recreating these kind of tools would be - relatively - easy (at least on the layout front):
|
||||
|
||||
* [menuconfig](http://en.wikipedia.org/wiki/Menuconfig#/media/File:Linux_x86_3.10.0-rc2_Kernel_Configuration.png)
|
||||
|
Loading…
Reference in New Issue
Block a user