Commit Graph

338 Commits

Author SHA1 Message Date
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
Rodolfo Carvalho
12a4e7e545 Use "ui" instead of "termui" in example code
To be consistent with the other examples.
2015-12-26 14:25:35 +01:00
Zack Guo
540a937307 Merge pull request #73 from sdboyer/patch-1
Add missing 'yellow' to TextBuilder
2015-12-22 00:10:16 -05:00
Sam Boyer
32b8d8e68b Add missing 'yellow' to TextBuilder
'yellow' wasn't included in the colorMap used by TextBuilder, making it impossible to specify that very handy color from within text.
2015-12-19 00:24:49 -05:00
Zack Guo
7dc4fcbdf6 Merge pull request #71 from mrezai/dashboard
Fixed dashboard example crash because of index out of range
2015-12-10 12:10:07 -05:00
mrezai
a2a6c19ac0 Fixed dashboard example crash because of index out of range 2015-12-10 13:00:34 +03:30
gizak
0cb4aedd6f Fix https://github.com/gizak/termui/issues/61
Frequently calling termbox.Sync() will upset terminal.
2015-12-09 14:04:28 -05:00
gizak
47e145b445 Merge remote branch 'master' 2015-12-06 12:54:32 -05:00
gizak
ab87ad72d1 Fix https://github.com/gizak/termui/issues/63 2015-12-06 12:51:37 -05:00
Zack Guo
6ef2561a63 Merge pull request #69 from tristil/patch-1
Fix typo in code example in README
2015-12-04 13:15:02 -05:00
Joseph Method
1c9b2fa77b Fix typo in code example in README 2015-12-04 02:32:04 -05:00
James Ryland Miller
7dd60de21e added wrappar.go example 2015-10-29 22:41:35 -05:00
James Ryland Miller
bbf3fd8ce5 fixed bug in where the newline should just replace the space 2015-10-29 22:41:22 -05:00
James Ryland Miller
d90f010d70 removed fmt lines for debugging 2015-10-29 21:56:57 -05:00
James Ryland Miller
ed5dedd2fa about to remove debug statements 2015-10-29 21:56:00 -05:00
James Ryland Miller
32570bba60 few tweaks to par.go 2015-10-29 21:55:30 -05:00
James Ryland Miller
16d4dfecd0 added in BuildWrap func to textbuilder.go; implementation is ugly but works 2015-10-29 21:31:06 -05:00
gizak
a302a528a8 Fresh example screenshots 2015-10-28 21:19:35 -04:00
gizak
1847af70cf Path adaption 2015-10-27 15:34:47 -04:00
Zack Guo
a36d3a4787 Update README.md 2015-10-27 15:29:37 -04:00
gizak
3bf132c51f Update README 2015-10-27 15:24:29 -04:00
gizak
ad8b8b432b Merge branch 'v2' 2015-10-22 11:17:20 -04:00
gizak
e62b592964 Add ttop example 2015-10-21 11:11:08 -04:00
gizak
9ec1539ccc Merge Pull 48 2015-10-21 11:05:52 -04:00