Commit Graph

21 Commits

Author SHA1 Message Date
Matteo Kloiber
a3f1384a3b Added EscapeCodeRenderer
- Added `EscapeCode`-type
 - Implemented EscapeCode.String()
 - Implemented EscapeCode.Raw()
 - Implemented EscapeCode.MakeSafe()
 - Implemented EscapeCode.IsValid()

 - Added `EscapeCodeRenderer`
 - Implemented EscapeCodeRenderer.RenderSequence()
 - Implemented EscapeCodeRenderer.Render()
 - Implemented `EscapeCodeRenderer.NormalizedText`.

 - Added EscapeCodeRendererFactory
 - Implemented EscapeCodeRendererFactory.TextRenderer()
 - Added escape code examples to examples/coloredList.go
2015-04-12 17:41:34 +02:00
Matteo Kloiber
3c08053c57 Bugfixes and refactoring
Bugfixes:

 - Fixes a bug which placed the tree dots (…) for overflown list on the wrong position.

Refactoring

 - Renamed `TextRender` to `TextRenderer`
 - Renamed `NoopRenderer` to `PlainRenderer`
 - Renamed `NoopRendererFactory` to `PlainRendererFactory`
2015-04-10 17:08:27 +02:00
Matteo Kloiber
769ce01ae8 Added an example for the colored list. 2015-04-10 16:58:59 +02:00
gizak
9292a5f43d Fix https://github.com/gizak/termui/issues/26 2015-04-10 09:57:34 -04:00
gizak
7be8d021fd Add Event
Port termbox-go Event
Hide away termbox-go event dependency
Add Event channel multiplexer
Adjuest examples
Next event system commit will work on fully concurrency on a different branch, master
will stay on single rountine
2015-04-08 12:06:47 -04:00
gizak
f4c99eb5a2 Clean gifs 2015-03-28 12:11:16 -04:00
gizak
444bd9e8ca Fix https://github.com/gizak/termui/issues/13 2015-03-28 12:02:33 -04:00
gizak
b436024302 Fix https://github.com/gizak/termui/issues/10
Handle CJK wide characters in helper.go
Add multi width text ouput support in widgets
2015-03-25 18:04:15 -04:00
gizak
b689689056 Add build tags for examples 2015-03-20 16:21:50 -04:00
gizak
89f47edd59 Finish Grid system 2015-03-20 08:24:48 -04:00
gizak
4a60506c99 Delete example/grid.go 2015-03-19 12:03:19 -04:00
gizak
8ed1b40acf Add grid layout 2015-03-15 15:56:38 -04:00
gizak
d6ab2b3d3c Add widgets demos
Fix trim bug in helper.go
Add todos
2015-03-13 13:20:17 -04:00
gizak
10897a812a Merge hotfix-linechart 2015-03-12 23:09:58 -04:00
gizak
a2346d4ece Smooth line chart
Update to new screencast
2015-03-12 23:02:45 -04:00
Yasuhiro Matsumoto
97d756a29a Use png instead of tiff 2015-03-12 17:20:40 +09:00
gizak
bc325c986d Add theme support
Fix some minor bugs
Add default and helloworld themes
Update README
2015-03-11 16:15:59 -04:00
gizak
74d3a0a37a Update README 2015-02-08 12:00:00 -05:00
gizak
92a301a247 Add LineChart and BarChart 2015-02-07 20:19:16 -05:00
gizak
8351d8f305 Fixed Sparklines index out of range 2015-02-05 11:03:32 -05:00
Zack Guo
1a79160e56 Add example 2015-02-05 02:09:20 -05:00