From 8cbb89eb3e40413b99a55946f28ebbe1d47b9b12 Mon Sep 17 00:00:00 2001 From: Zack Guo Date: Sun, 8 Feb 2015 12:07:18 -0500 Subject: [PATCH] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index db6dab3..c2272cb 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # termui -Go terminal dashboard, inspired by [blessed-contrib](https://github.com/yaronn/blessed-contrib), but purely in Go. +Go terminal dashboard. Inspired by [blessed-contrib](https://github.com/yaronn/blessed-contrib), but purely in Go. Cross-platform, easy to compile, and fully-customizable. __Demo:__ -demo +demo ## Installation @@ -13,7 +13,9 @@ __Demo:__ ## Usage -Each component's layout is a bit like HTML block, which has border and padding. The `Border` property can be chosen to hide or display (with its border label), when it comes to display, in this case the space it takes is counted as padding space (i.e. `PaddingTop=PaddingBottom=PaddingLeft=PaddingRight=1`). +Each component's layout is a bit like HTML block, which has border and padding. + +The `Border` property can be chosen to hide or display (with its border label), when it comes to display, in this case the space it takes is counted as padding space (i.e. `PaddingTop=PaddingBottom=PaddingLeft=PaddingRight=1`). `````go import ui "github.com/gizak/termui" // <- ui shortcut, optional @@ -48,7 +50,7 @@ Each component's layout is a bit like HTML block, which has border and padding. } ````` -Note that components can be overlapped (I'd rather call this as a feature...), `Render(Renderer...)` renders its args from left to right (i.e. each component's weight is arising from left to right). +Note that components can be overlapped (I'd rather call this as a feature...), `Render(rs ...Renderer)` renders its args from left to right (i.e. each component's weight is arising from left to right). ## Widgets