From a36d3a47874ae69e58672f430f9997ae107128e3 Mon Sep 17 00:00:00 2001 From: Zack Guo Date: Tue, 27 Oct 2015 15:29:37 -0400 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3e738f6..837807a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # termui [![Build Status](https://travis-ci.org/gizak/termui.svg?branch=master)](https://travis-ci.org/gizak/termui) [![Doc Status](https://godoc.org/github.com/gizak/termui?status.png)](https://godoc.org/github.com/gizak/termui) -demo cast under osx 10.10; Terminal.app; Menlo Regular 12pt.) +demo cast under osx 10.10; Terminal.app; Menlo Regular 12pt.) `termui` is a cross-platform, easy-to-compile, and fully-customizable terminal dashboard. It is inspired by [blessed-contrib](https://github.com/yaronn/blessed-contrib), but purely in Go. @@ -63,6 +63,8 @@ Note that components can be overlapped (I'd rather call this a feature...), `Ren __Grid layout:__ +grid + Grid layout uses [12 columns grid system](http://www.w3schools.com/bootstrap/bootstrap_grid_system.asp) with expressive syntax. To use `Grid`, all we need to do is build a widget tree consisting of `Row`s and Cols (Actually a Col is also a `Row` but with a widget endpoint attached). ```go @@ -120,13 +122,13 @@ Grid layout uses [12 columns grid system](http://www.w3schools.com/bootstrap/boo Click image to see the corresponding demo codes. -[par](https://github.com/gizak/termui/blob/master/example/par.go) -[list](https://github.com/gizak/termui/blob/master/example/list.go) -[gauge](https://github.com/gizak/termui/blob/master/example/gauge.go) -[linechart](https://github.com/gizak/termui/blob/master/example/linechart.go) -[barchart](https://github.com/gizak/termui/blob/master/example/barchart.go) -[barchart](https://github.com/gizak/termui/blob/master/example/mbarchart.go) -[sparklines](https://github.com/gizak/termui/blob/master/example/sparklines.go) +[par](https://github.com/gizak/termui/blob/master/example/par.go) +[list](https://github.com/gizak/termui/blob/master/example/list.go) +[gauge](https://github.com/gizak/termui/blob/master/example/gauge.go) +[linechart](https://github.com/gizak/termui/blob/master/example/linechart.go) +[barchart](https://github.com/gizak/termui/blob/master/example/barchart.go) +[barchart](https://github.com/gizak/termui/blob/master/example/mbarchart.go) +[sparklines](https://github.com/gizak/termui/blob/master/example/sparklines.go) ## GoDoc