Commit Graph

160 Commits

Author SHA1 Message Date
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
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
gizak
4d6b0249c0 Merge branch 'alytvynov-master' 2015-10-20 21:59:18 -04:00
gizak
b47320a97f Merge branch 'marigs-master' 2015-10-20 21:51:19 -04:00
gizak
ad6bdb182c Rm .DS_Store 2015-10-20 21:48:51 -04:00
gizak
c30bf1612a Move Tab to extra 2015-10-20 21:45:28 -04:00
gizak
6246586bbd Merge Pull 44 2015-10-13 16:17:40 -04:00
gizak
656a220fd9 Merge Pull 46 2015-10-13 16:12:12 -04:00
gizak
274f68b371 Merge Pull #37 into Matt3o12-master 2015-10-13 14:05:15 -04:00
gizak
2e6591a15e Add custom event handling 2015-10-13 12:45:03 -04:00
gizak
86950762b0 Add Float prop 2015-10-13 01:00:15 -04:00
gizak
52f9777092 Fix grid demo and Buffer.Merge 2015-10-10 11:20:44 -04:00
Zack Guo
83e27ff60c Merge pull request #57 from nmcclain/47_label_position
this commit fixes #47
2015-10-10 11:04:51 -04:00
gizak
ca69e25d1b Widgets API adaption 2015-10-08 22:11:26 -04:00
gizak
e0dec9dbb9 Move widget back to root 2015-10-07 14:25:59 -04:00
gizak
196d9aae34 Theme map lookup 2015-09-21 03:11:58 -04:00
gizak
1cb28b0a3c Fix EventStream.match randomness behaviour 2015-09-18 21:07:57 -04:00
gizak
e89b10ff4f Finish Event 2015-09-18 11:41:44 -04:00
gizak
3ea00a7476 WIP Refine 2015-08-30 23:03:47 -04:00
ned
be4ddec04a this commit fixes #47 2015-08-29 15:05:24 -06:00
gizak
3036ef125c WIP update Event struct 2015-08-19 15:22:53 -04:00
Zack Guo
283c3a36f2 WIP Wrap up Event 2015-08-08 19:07:32 -04:00
Zack Guo
f9b0351285 Revert the last commit
Field termbox.Event field N remains in the last version	of termbox
2015-08-04 18:10:39 -04:00
Zack Guo
015d798c42 Fix 'termbox.Event has no field or method N' 2015-08-04 12:14:56 -04:00
Zack Guo
bab8dce01c Update README.md 2015-06-23 15:11:22 -04:00
marigs
9b66e710b6 +built ignore 2015-06-16 23:16:37 +02:00
marigs
c377a74461 new example: ttop (termui top) 2015-06-16 22:52:07 +02:00
Andrew Lytvynov
4a31d90070 Fill background for borderless one-line paragraph
Previously when we had a Par with Width > len(Text) and custom BgColor
on the underlying Block, it would skip the first row. This means that
it's impossible to have a colored line wider than text width.
Block should offset indexes by 1 only if border is present.
2015-06-01 21:53:57 -07:00
marigs
52789d8258 bugfix: added missing changes i.e. some constans needed in Tabpane 2015-05-26 21:37:04 +02:00
marigs
5a0bce64fa Add Tabpane 2015-05-25 20:55:34 +02:00