From 7fb1108ff8de532889a28af6dde9a30172b261e1 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Mon, 25 May 2015 01:15:00 -0700 Subject: [PATCH] Update readme example. The example spelled "Hello world", but the image said "Hello Dialog". --- Readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index f354365..7df368d 100644 --- a/Readme.md +++ b/Readme.md @@ -20,8 +20,8 @@ fn main() { let mut siv = Cursive::new(); // Create a popup window with a "Ok" button that quits the application - siv.add_layer(Dialog::new(TextView::new("Hello world!")) - .title("Cursive") + siv.add_layer(Dialog::new(TextView::new("Hello Dialog!")) + .title("Cursive") .button("Quit", |s| s.quit())); // Starts the event loop. @@ -31,7 +31,7 @@ fn main() { ![Cursive dialog example](https://raw.githubusercontent.com/Gyscos/Cursive/master/doc/cursive_example.png) -_(Colors may depend on your terminal configuration)_ +_(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):