wanzysky
a6fbfcb5c7
feature: support table
2016-11-10 18:46:23 +08:00
Zack Guo
bfde399a8c
Lock deps
2016-11-03 17:41:48 -04:00
Zack Guo
7cbb70e87e
Bring tabpane back
...
Fix https://github.com/gizak/termui/issues/101
Fix https://github.com/gizak/termui/issues/94
Fix https://github.com/gizak/termui/issue
Fix Buffer.Sync() can not actually take affect
Fix Buffer.Bounds() cutting corner
2016-11-03 14:23:37 -04:00
Zack Guo
c8b6d85d42
Merge branch 'master' into tabpane
2016-11-03 13:26:54 -04:00
Zack Guo
806f4377c8
Make rendering panic-friendly
...
Raise a panic from un-recovered .Buffer() call will leave your terminal messed up. Add recover to internal rendering chan to close termui before program exit.
2016-11-03 13:10:55 -04:00
Zack Guo
8e01231aa1
Bridge Tabpane
2016-11-03 01:41:47 -04:00
Zack Guo
d29684eba4
Merge pull request #88 from heavenlyhash/patch-1
...
Clear screen during re-layouts in example
2016-10-25 17:22:53 -04:00
Zack Guo
c1c69b79dd
Merge pull request #103 from martinlindhe/linechart-fix-x-label-dynamic-data
...
linechart: remember if data labels were automatically calculated
2016-10-25 12:17:03 -04:00
Zack Guo
a7e3aeef4c
Merge pull request #98 from MrWaggel/patch-1
...
Added a EvtStream member function ResetHandlers()
2016-10-23 22:17:13 -04:00
Zack Guo
f309f2b73c
Merge pull request #107 from jcbwlkr/doc
...
Fix example program in doc.go
2016-10-17 13:12:21 -04:00
Jacob Walker
fa3e242ce3
Fix example program in doc.go
2016-10-17 11:32:45 -05:00
Zack Guo
797aea3560
Merge pull request #106 from dareg/master
...
Border.Label -> BorderLabel
2016-10-14 10:04:22 -04:00
Dareg
5915b71c94
Border.Label -> BorderLabel
2016-10-14 13:48:50 +02:00
Martin Lindhe
a75e14acaa
remember if data labels were automatically calculated, fix x labels with dynamic data
2016-09-24 01:09:48 +02:00
Martin Lindhe
5e8d1e2014
linechart: reset bottomValue and topValue on each calculation, to only consider current data
2016-09-24 00:39:43 +02:00
Zack Guo
23b25db083
Merge branch 'leighmcculloch-barchart-cell-char'
2016-08-13 22:39:28 -04:00
Zack Guo
62281b0e23
Reconcile CellChar color
2016-08-13 22:34:50 -04:00
Zack Guo
4e0083d6b1
Merge branch 'barchart-cell-char' of git://github.com/leighmcculloch/termui into leighmcculloch-barchart-cell-char
2016-08-13 21:36:51 -04:00
MrWaggel
ecd5df9a49
Added a EvtStream member function ResetHandlers()
...
A feature that I missed, it clears all the defined termui.Handle() calls.
Also a cleaner fix for https://github.com/gizak/termui/issues/92
2016-08-13 13:43:04 +02:00
Zack Guo
202925a536
Merge pull request #96 from leighmcculloch/typo-fix
...
Correct typo in internal variables.
2016-07-11 10:51:34 -04:00
Leigh McCulloch
a1fd1aa952
Correct typo in internal variables.
...
What
===
Change `Lebel` => `Label` in `linecharge.go`.
Why
===
`Label` was incorrectly spelled `lebel`.
2016-07-08 19:28:22 -07:00
Leigh McCulloch
748477aa49
Make BarChart cell character configurable.
...
What
===
Make BarChart cell character configurable.
Why
===
So that it can be set to a non-space character, which can be useful in
some situations. For example, it allows the barcharts to be used as
ASCII art and copy-pastable.
Example
===
https://github.com/leighmcculloch/keywords
2016-07-03 12:43:29 -07:00
Zack Guo
6a96276a03
Update README.md
2016-04-06 21:41:23 -04:00
gizak
bf3f43a143
Remove vendor in git
2016-04-06 21:36:10 -04:00
gizak
cefeacfe76
Try to solve go get submodule
2016-04-06 21:19:13 -04:00
Eric Myhre
2819e7ed4e
Clear screen during re-layouts in example
...
Doing re-layout for changes in window size may leave coordinates that are now not painted over by any active components. (I experienced this when updating the example to have the `ls` object take up 2 grid widths and be offset 1, for example.) It's probably a good idea to pair big re-layout&re-draw operations with a `Clear` call.
2016-03-28 13:48:41 -05:00
Josh Soref
6b3d91f8d1
spelling: sparklines
2016-03-14 05:49:04 +00:00
Josh Soref
23118e571a
spelling: previous
2016-03-14 05:48:48 +00:00
Josh Soref
10586d407b
spelling: minimum
2016-03-14 05:48:08 +00:00
Josh Soref
9330264be1
spelling: interrupt
2016-03-14 05:47:50 +00:00
Josh Soref
92e24c9d1c
spelling: implements
2016-03-14 05:47:25 +00:00
Josh Soref
93a02e31cf
spelling: implementation
2016-03-14 05:47:16 +00:00
Josh Soref
552d4fdbed
spelling: computed
2016-03-14 05:45:57 +00:00
Josh Soref
058b18fae8
spelling: capacity
2016-03-14 05:45:45 +00:00
Josh Soref
3c68203c6d
spelling: calculate
2016-03-14 05:44:27 +00:00
gizak
cede030c41
Merge branch 'master' into jrmiller82-feature-textwrapping
2016-03-10 15:52:15 -05:00
gizak
4701bd971f
Convert BuildWrap to wrapTx
2016-03-10 15:49:31 -05:00
gizak
97d7e78a3c
Merge branch 'master' from origin
2016-03-09 20:06:59 -05:00
Zack Guo
ed6d626aad
Merge pull request #84 from guobiao/patch-1
...
Update doc.go
2016-03-09 19:49:22 -05:00
Zack Guo
243f3bf6fc
Merge pull request #86 from csimons/readme-typo
...
README.md: fix typo
2016-03-09 19:48:49 -05:00
gizak
84796f88f2
Add readthedocs Doc
2016-03-09 17:12:59 -05:00
gizak
465e6e1e79
Use vendor to lock deps
2016-03-06 10:51:47 -05:00
Christopher Simons
123bb5108b
README.md: improve style consistency
2016-02-20 19:56:35 -05:00
Christopher Simons
e61b888293
README.md: fix typo
2016-02-20 19:50:07 -05:00
Guobiao Mei
ef9d46bd9f
Update doc.go
...
Fix godoc comment so that the example there compiles.
2016-02-11 21:55:49 -05:00
Matt Ranney
562ca47996
Fix some off-by-one errors in Y axis calculations
...
Y axis label printing stopped before the top line
Sometimes large data values would land on the border or beyond the box
fix typo
2016-02-04 10:56:53 -08:00
Matt Ranney
e74935dded
add support for multiple series to linechart
2016-02-03 17:43:49 -08:00
gizak
08a5d3f67b
Fix https://github.com/gizak/termui/issues/75
...
Negative numbers are suppressed as zeros. The height of each data point
is based off zero, so it will be confusing when it comes to negative
numbers. Simply treat negative values data points as zeroes.
2016-01-27 14:12:43 -05:00
gizak
dada0699b6
Update doc string
2016-01-26 20:45:18 -05:00
Zack Guo
551f2e7b84
Merge pull request #74 from rhcarvalho/patch-1
...
Use "ui" instead of "termui" in example code
2015-12-26 11:50:10 -05:00