Commit Graph

282 Commits

Author SHA1 Message Date
Caleb Bassi
ea15e228f4 Rework events (again) 2018-11-28 18:19:34 -08:00
Caleb Bassi
4022fa43e0 Migrate from dep to vgo 2018-11-22 13:02:44 -08:00
Caleb Bassi
fede2b0a74 Add <Mouse> and <Keyboard> events
Closes #190
2018-09-15 12:13:46 -07:00
Caleb Bassi
00d684343a Readd explicit error handling to examples 2018-09-06 18:22:04 -07:00
Caleb Bassi
f4dc75130f Update README and fix _examples links 2018-09-06 16:56:04 -07:00
Caleb Bassi
c54abcd54e Fix refactor issue 2018-09-06 16:46:19 -07:00
Caleb Bassi
b227bd5277 Rework event system
* Timers should now be done through Go tickers
* Reworked event names used in Handle()
* Reworked Event type and payloads
2018-09-06 16:43:11 -07:00
Caleb Bassi
609f0e3c48 Merge pull request #171 from verdverm/mouse-events
enrich mouse events
2018-09-06 16:32:37 -07:00
Caleb Bassi
3629cdceea Minor refactor 2018-09-06 14:48:09 -07:00
Caleb Bassi
7d98eb0bf4 File renaming 2018-09-06 14:15:57 -07:00
Caleb Bassi
07edbb9c11 Add run_examples.py script 2018-09-06 14:00:19 -07:00
Caleb Bassi
502db632d5 Remove panicparse 2018-09-06 13:57:56 -07:00
Caleb Bassi
007ca2123b Update examples 2018-08-16 23:24:03 -07:00
Caleb Bassi
5d65a22da1 Merge pull request #147 from kenan-rhoton/CloseInit
Init() cleanly after Close()
2018-08-16 23:04:33 -07:00
Caleb Bassi
e736b1bc24 Merge pull request #158 from VarunBatraIT/master
Fix table horizontal separator bug.
2018-08-16 20:39:05 -07:00
Caleb Bassi
8d4faad061
Merge pull request #118 from bcicen/barchart-numfmt
Allow for custom number formatting function in barchart
2018-08-16 20:37:24 -07:00
Caleb Bassi
3bbd34011a Cleanup piechart 2018-08-16 20:22:32 -07:00
Caleb Bassi
10d90f04d8 Add '// +build ignore' to examples 2018-08-16 20:05:56 -07:00
Caleb Bassi
bebe24a2e6 Merge pull request #184 from ParkL/pie
Piechart
2018-08-16 19:48:46 -07:00
Caleb Bassi
826e5d68fa Merge pull request #152 from deepakkamesh/master
Added support for mouse
2018-08-16 19:06:33 -07:00
Matt Ranney
606e1de924 256 color support
Expose termbox OutputMode so users can override the default.
addColorMap to extend textbuilder with custom colors
ColorRGB24 to convert from web to terminal colors
2018-08-16 19:02:36 -07:00
Caleb Bassi
b715a57165 Move config.py into scripts folder 2018-08-16 19:02:36 -07:00
Caleb Bassi
e04e156fac Update example/ttop 2018-08-16 19:02:36 -07:00
Caleb Bassi
939190b59f Update linegraph example 2018-08-16 19:02:31 -07:00
Caleb Bassi
e4bc917824 Merge pull request #81 from uber-archive/mjr-multi-series
add support for multiple data series in linechart
2018-08-16 17:31:03 -07:00
Caleb Bassi
bf53c5cbea Update gopkg.lock 2018-08-16 17:16:09 -07:00
Caleb Bassi
9154a84656 Update README 2018-08-01 19:34:08 -07:00
Caleb Bassi
f5585907b2 Migrate from glide to dep 2018-08-01 19:30:44 -07:00
Bernd Louis
657b77a1ed Piechart 2018-07-25 14:19:49 +02:00
Zack Guo
19bab32e9c
Update README.md 2018-06-14 17:51:57 +08:00
Zack Guo
3d82ffeae4
Merge pull request #178 from airking05/hotfix/updateWithStackRepository
[Fix] render stacked error #177
2018-06-14 17:22:44 +08:00
physalis02
d991b10e27 [Fix] render stacked error 2018-03-22 08:44:32 +09:00
Tony Worm
a433c24293 enrich mouse events 2018-01-11 11:01:45 -07:00
Zack Guo
e9a3a6b3d6
Merge pull request #160 from mattn/fix-windows
add missing characters for Windows
2018-01-02 17:47:07 +08:00
Zack Guo
0f42a2ee00 Merge branch 'martinlindhe-linechart-auto-height' 2018-01-02 16:40:37 +08:00
Zack Guo
0768d020a1 Less obsecure naming 2018-01-02 16:11:01 +08:00
Zack Guo
6c7fa20384 Merge branch 'master' of git://github.com/hantuo/termui into hantuo-master 2018-01-02 11:08:22 +08:00
Zack Guo
4a1616ff65 Merge branch 'linechart-auto-height' of git://github.com/martinlindhe/termui into martinlindhe-linechart-auto-height 2018-01-02 11:05:20 +08:00
Yasuhiro Matsumoto
6d9a109edf add missing characters 2017-07-17 19:24:37 +09:00
Varun Batra
96f60f23b6 Fix table horizontal separator bug. 2017-07-09 21:30:34 +05:30
Deepak Guruswamy
4b7fc0a5fb Added support for mouse 2017-05-27 03:11:46 -07:00
Kenan Rhoton
6e522b9e10 Init() cleanly after Close() 2017-05-17 07:19:52 +02:00
Zack Guo
72304ddb9b Merge branch 'master' of https://github.com/gizak/termui 2017-05-02 22:12:00 +08:00
Zack Guo
1fd509e58d Fix https://github.com/gizak/termui/issues/97 2017-05-02 22:11:46 +08:00
Zack Guo
78e78f78b9 Merge pull request #139 from bentx/master
Expose ResetHandlers()
2017-04-08 21:45:21 +08:00
bentx
3b3aa549db expose ResetHandlers 2017-04-08 20:09:47 +07:00
Zack Guo
86c275c69b Fix https://github.com/gizak/termui/issues/99 https://github.com/gizak/termui/issues/112
Now keyboard events will be handled in order, but the consequence is computation-intense may need to be moved to a seperate goroutine otherwise it may delay the next event call.
2017-04-06 17:20:54 +08:00
Zack Guo
383c12d69e Merge pull request #138 from ryanguest/master
Fix a couple small typos
2017-04-05 10:35:04 +08:00
Ryan Guest
ba69a564f2 Fix a couple small typos 2017-04-03 22:47:18 -07:00
Bradley Cicenas
ea10e6ccee add custom number format func to mbarchart 2017-03-10 12:27:16 +11:00