Skip to content

Commit

Permalink
Minor fix for README example
Browse files Browse the repository at this point in the history
Fixes #31
  • Loading branch information
docelic committed Jul 25, 2023
1 parent 987e33d commit 3acf171
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ hello = C::Widget::Box.new \
height: 5, # Can also be of format 10, "50%", or "50%+-10"
content: "{center}'Hello {bold}world{/bold}!'\nPress q to quit.{/center}",
parse_tags: true, # Parse {} tags within content (default already is true)
style: C::Style.new(fg: "yellow", bg: "blue"),
border: true # 'true' for default type/look of border
style: C::Style.new(fg: "yellow", bg: "blue", border: true)
screen.append hello
Expand Down

0 comments on commit 3acf171

Please sign in to comment.